Skip to content

bayesplot development notes

TJ Mahr edited this page Sep 18, 2018 · 4 revisions

How to test a package as CRAN

The function skip_on_cran() will skip a time-consuming and dependency-heavy test from running on CRAN. To run the suite of tests as though you were on CRAN, use:

Sys.setenv(NOT_CRAN = "false")
devtools::test()
Clone this wiki locally