Skip to content
Prev 323 / 12125 Next

[R-pkg-devel] R CMD build with configure-args

The behavior changed somewhere along the line.  I think it is related to 
the version bump from 3.1 to 3.2, but it could have been earlier.

It used to be when I wanted to release a version of my package I would run:

INSTALL
check
build
INSTALL --build (on each of a Windows and Mac box).

to create source and binary tarballs.

I was never quite sure if I needed the check syntax or the INSTALL 
syntax for build.  Somewhere along the line it stopped working.  I'm not 
sure exactly when, because I was working around by creating the source 
tarball on the Windows box where I was using an environmental variable 
instead of the command line arg.

I suspect that what must have happened is that previously build did not 
try to recompile the package (or used my source directory where the 
binaries where already in place).  Now it does, so it would probably be 
useful to add the --install-args switch.

	--Russell
On 07/30/2015 04:08 PM, Duncan Murdoch wrote: