ThePiratesGuideToR icon indicating copy to clipboard operation
ThePiratesGuideToR copied to clipboard

Error in `aggregate.formula()`

Open pstils opened this issue 9 months ago • 0 comments

Quitting from lines 631-635 [unnamed-chunk-37] (YaRrr.Rmd) Error in aggregate.formula()`: ! argument 'x' is missing -- it has been renamed from 'formula' Backtrace:

  1. stats::aggregate(formula = age ~ sex, data = pirates, FUN = mean)
  2. stats:::aggregate.formula(...)`

I'm running the line:

Rscript -e "bookdown::render_book('index.Rmd', 'bookdown::gitbook')"

Trying to get the book to compile.

Thanks,

pstils avatar Sep 11 '23 14:09 pstils