Is there any easy way with devtools::check() to run the extended CRAN checks but also run testhat tests that are marked as skip_on_cran()?
Basically, I want to run the most comprehensive tests I can: all of the CRAN checks, plus all of my unit tests
The current version of
testhat::skip_on_cranjust check a system variable:On my site, the
devtools::checkdoes not set this environment variable even withcran = TRUEso all tests are run. That is, the question does not seem to make sense with the present version oftestthat.