You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to run all R code in the examples, tests, and vignettes, examples and tests need to be explicitly installed during installation. For examples this is the default, for tests not.
In order to do that, one would have to set R CMD INSTALL --install-tests as installation command line argument.
I am not sure how to set command line arguments in a package installation plan.
It seems that this might already be possible, see the cmd_args argument in make_build_process()
I opened this issue in {pak} before, but I think it is better addressed in {pkgdepends}. Here is the link to the original issue r-lib/pak#514.
I would like to test installed packages using
tools::testInstalledPackage()
, see https://rdrr.io/r/tools/testInstalledPackage.html.In order to run all R code in the examples, tests, and vignettes, examples and tests need to be explicitly installed during installation. For examples this is the default, for tests not.
In order to do that, one would have to set
R CMD INSTALL --install-tests
as installation command line argument.I am not sure how to set command line arguments in a package installation plan.
It seems that this might already be possible, see the
cmd_args
argument inmake_build_process()
pkgdepends/R/install-plan.R
Lines 356 to 357 in 6741f04
The text was updated successfully, but these errors were encountered: