[R-SIG-Mac] How to build without suggested packages
Kasper Daniel Hansen
k@@perd@n|e|h@n@en @end|ng |rom gm@||@com
Tue Jun 25 06:48:55 CEST 2024
Bill,
There are multiple ways to do this. I assume you're familiar with building
and checking your R package in the Terminal, which is done by
$ R CMD build packageName
$ R CMD check packageName_VERSION.tar.gz
(where VERSION is the version number) and $ is the command prompt.
You can set the environment variable by
1) setting it permanently in the Terminal window by executing
$ export _R_CHECK_DEPENDS_ONLY_=true
$ R CMD build packageName
$ R CMD check packageName_VERSION.tar.gz
2) setting it for one specific invocation
$ R CMD build packageName
$ _R_CHECK_DEPENDS_ONLY_=true R CMD check packageName_VERSION.tar.gz
3) setting it in .Renviron (see manual)
$ R CMD check
[[alternative HTML version deleted]]
More information about the R-SIG-Mac
mailing list