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
{{ message }}
Repository navigation
Setting command line arguments for package installation #394
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'd like to do a minimal instal with --no-data and friends, it would be great if pkgdepends and pak supported that. Maybe a global option (e.g. options(pkgdepends.install_opts = "--no-data")) would be the easiest way to go?
Activity
tzakharko commentedon Jul 10, 2025
+1 from me!
I'd like to do a minimal instal with
--no-dataand friends, it would be great ifpkgdependsandpaksupported that. Maybe a global option (e.g.options(pkgdepends.install_opts = "--no-data")) would be the easiest way to go?