Error(s) in re-building vignettes:
  ...
--- re-building 'Resampling.Rmd' using rmarkdown
Quitting from lines 191-192 (Resampling.Rmd) 
Error: processing vignette 'Resampling.Rmd' failed with diagnostics:
cannot coerce class '"function"' to a data.frame
--- failed re-building 'Resampling.Rmd'

--- re-building 'mosaic-resources.Rmd' using rmarkdown
--- finished re-building 'mosaic-resources.Rmd'

--- re-building 'MinimalRgg.Rnw' using knitr
Loading required package: mosaic
Loading required package: dplyr

Attaching package: 'dplyr'

The following objects are masked from 'package:stats':

    filter, lag

The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union

Loading required package: lattice
Loading required package: ggformula
Loading required package: ggplot2
Loading required package: ggstance

Attaching package: 'ggstance'

The following objects are masked from 'package:ggplot2':

    GeomErrorbarh, geom_errorbarh


New to ggformula?  Try the tutorials: 
	learnr::run_tutorial("introduction", package = "ggformula")
	learnr::run_tutorial("refining", package = "ggformula")
Loading required package: mosaicData
Loading required package: Matrix
Registered S3 method overwritten by 'mosaic':
  method                           from   
  fortify.SpatialPolygonsDataFrame ggplot2

The 'mosaic' package masks several functions from core packages in order to add 
additional features.  The original behavior of these functions should not be affected by this.

Note: If you use the Matrix package, be sure to load it BEFORE loading mosaic.

Have you tried the ggformula package for your plots?

Attaching package: 'mosaic'

The following object is masked from 'package:Matrix':

    mean

The following object is masked from 'package:ggplot2':

    stat

The following objects are masked from 'package:dplyr':

    count, do, tally

The following objects are masked from 'package:stats':

    IQR, binom.test, cor, cor.test, cov, fivenum, median, prop.test,
    quantile, sd, t.test, var

The following objects are masked from 'package:base':

    max, mean, min, prod, range, sample, sum

Loading required package: parallel
Using parallel package.
  * Set seed with set.rseed().
  * Disable this message with options(`mosaic:parallelMessage` = FALSE)

Using parallel package.
  * Set seed with set.rseed().
  * Disable this message with options(`mosaic:parallelMessage` = FALSE)

Quitting from lines 483-487 (MinimalRgg.Rnw) 
Error: processing vignette 'MinimalRgg.Rnw' failed with diagnostics:
Invalid formula specification.  Too many slots (4>3).
--- failed re-building 'MinimalRgg.Rnw'

SUMMARY: processing the following files failed:
  'Resampling.Rmd' 'MinimalRgg.Rnw'

Error: Vignette re-building failed.
Execution halted