Error(s) in re-building vignettes:
--- re-building ‘Resampling.Rmd’ using rmarkdown

Quitting from Resampling.Rmd:271-274 [hist]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Problem while computing aesthetics.
ℹ Error occurred in the 1st layer.
Caused by error:
! Aesthetics are not valid data columns.
✖ The following aesthetics are invalid:
• `x = mean`
ℹ Did you mistype the name of a data column or forget to add
  `after_stat()`?
---
Backtrace:
     ▆
  1. ├─base::withVisible(knit_print(x, ...))
  2. ├─knitr::knit_print(x, ...)
  3. └─knitr:::knit_print.default(x, ...)
  4.   └─knitr::normal_print(x)
  5.     ├─base::print(x)
  6.     ├─ggformula:::print.gf_ggplot(x)
  7.     ├─base::NextMethod()
  8.     └─ggplot2 (local) `print.ggplot2::ggplot`(x)
  9.       ├─ggplot2::ggplot_build(x)
 10.       └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(x)
 11.         └─ggplot2:::by_layer(...)
 12.           ├─rlang::try_fetch(...)
 13.           │ ├─base::tryCatch(...)
 14.           │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
 15.           │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
 16.           │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
 17.           │ └─base::withCallingHandlers(...)
 18.           └─ggplot2 (local) f(l = layers[[i]], d = data[[i]])
 19.             └─l$compute_aesthetics(d, plot)
 20.               └─ggplot2 (local) compute_aesthetics(..., self = self)
 21.                 └─ggplot2:::check_nondata_cols(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'Resampling.Rmd' failed with diagnostics:
Problem while computing aesthetics.
ℹ Error occurred in the 1st layer.
Caused by error:
! Aesthetics are not valid data columns.
✖ The following aesthetics are invalid:
• `x = mean`
ℹ Did you mistype the name of a data column or forget to add
  `after_stat()`?
--- failed re-building ‘Resampling.Rmd’

--- re-building ‘mosaic-resources.Rmd’ using rmarkdown
--- finished re-building ‘mosaic-resources.Rmd’

--- re-building ‘MinimalRgg.Rnw’ using knitr
--- finished re-building ‘MinimalRgg.Rnw’

SUMMARY: processing the following file failed:
  ‘Resampling.Rmd’

Error: Vignette re-building failed.
Execution halted