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

2024-06-25 Thread William R Revelle
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 
>  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
> [email protected]
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

William Revellepersonality-project.org/revelle.html
Professorpersonality-project.org
Department of Psychology www.wcas.northwestern.edu/psych/
Northwestern Universitywww.northwestern.edu/
Use R for psychology personality-project.org/r
It 90 seconds to midnightwww.thebulletin.org

___
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


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

2024-06-24 Thread Kasper Daniel Hansen
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
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac