[R-SIG-Mac] How to build without suggested packages

William R Revelle reve||e @end|ng |rom northwe@tern@edu
Tue Jun 25 18:44:40 CEST 2024


Kasper,

That is exactly what I was looking for (option 2)

Thanks.  Now back to debugging the dependencies.

Bill


> On Jun 24, 2024, at 23:48, Kasper Daniel Hansen <kasperdanielhansen using gmail.com> wrote:
> 
> 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]]
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

William Revelle            personality-project.org/revelle.html
Professor                    personality-project.org
Department of Psychology         www.wcas.northwestern.edu/psych/
Northwestern University            www.northwestern.edu/
Use R for psychology                 personality-project.org/r
It 90 seconds to midnight    www.thebulletin.org



More information about the R-SIG-Mac mailing list