I have a number of vignettes in an R
package that are slow to run. As I understand it, a CRAN R CMD check
will not rebuild the vignette but will run its corresponding code.
Since the vignettes are slow to run, I don't think the adhere to the CRAN policy. But the vignettes are useful examples that have figures. So I was wondering if it's possible to skip running vignette code only for a CRAN R CMD check
, a bit like you can skip a unit test using testthat::skip_on_cran()
?
R CMD check --help
. – Sterilization