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_cran
just check a system variable:On my site, the
devtools::check
does not set this environment variable even withcran = TRUE
so all tests are run. That is, the question does not seem to make sense with the present version oftestthat
.