Error in re-building vignettes:
  ...
Loading required package: Matrix
boundary (singular) fit: see ?isSingular
boundary (singular) fit: see ?isSingular
boundary (singular) fit: see ?isSingular
Loading required package: coda
************
Welcome to BayesFactor 0.9.12-4.2. If you have questions, please contact Richard Morey (richarddmorey@gmail.com).

Type BFManual() to open the manual.
************
Loading required package: Rcpp
rstanarm (Version 2.18.2, packaged: 2018-11-08 22:19:38 UTC)
- Do not expect the default priors to remain the same in future rstanarm versions.
Thus, R scripts should specify priors explicitly, even if they are just the defaults.
- For execution on a local, multicore CPU with excess RAM we recommend calling
options(mc.cores = parallel::detectCores())
- Plotting theme set to bayesplot::theme_default().

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

Computation of Bayes factors: sampling priors, please wait...

Attaching package: 'tidyr'

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

    expand

Quitting from lines 80-99 (indicesEstimationComparison.Rmd) 
Error: processing vignette 'indicesEstimationComparison.Rmd' failed with diagnostics:
`beta` must evaluate to column positions or names, not a function
Backtrace:
     x
  1. +-tools::buildVignettes(dir = "d:/Rcompile/CRANpkg/local/3.5/bayestestR.Rcheck/vign_test/bayestestR")
  2. | +-base::tryCatch(...)
  3. | | \-base:::tryCatchList(expr, classes, parentenv, handlers)
  4. | |   \-base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
  5. | |     \-base:::doTryCatch(return(expr), name, parentenv, handler)
  6. | \-engine$weave(file, quiet = quiet, encoding = enc)
  7. |   \-knitr:::vweave_rmarkdown(...)
  8. |     \-rmarkdown::render(...)
  9. |       \-knitr::knit(...)
 10. |         \-knitr:::process_file(text, output)
 11. |           +-base::withCallingHandlers(...)
 12. |           +-knitr:::process_group(group)
 13. |           \-knitr:::process_group.block(group)
 14. |             \-knitr:::call_block(x)
 15. |               \-knitr:::block_exec(params)
 16. |          
Execution halted