[Rd] Trouble building package using R in development

Gavin Simpson gavin.simpson at ucl.ac.uk
Wed Jan 16 22:06:16 CET 2013

On Wed, 2013-01-16 at 14:39 -0600, Hadley Wickham wrote:
> > To circumvent this, I check using:
> >
> > R --no-init-file CMD check foo_1.0.tar.gz
> In devtools, we take considerable care to match the R you're running
> with the R you're checking in, so we also set the following
> environmental variables:
<snip />

Thanks Henrik & Hadley,

> and always run /path/to/current/R --vanilla CMD check ...

To what end is the --vanilla here? Writing R Extensions says that R CMD
check (and R CMD build) are invoked via R --vanilla so that would seem
redundant, although my experience from several hours working this
through today suggests there is a difference between R --vanilla CMD
check and R CMD check.


> Hadley

 Dr. Gavin Simpson             [t] +44 (0)20 7679 0522
 ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
 Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk

More information about the R-devel mailing list