Skip to content

R CMD CHECK doens't run configure when testing install?

2 messages · Alexander James Rickett, Brian Ripley

#
I'm trying to get ready to submit a package to CRAN, but in order for the package to install on OS X, I need to temporarily set an environment variable.  I put this in the 'configure' script, and 'R CMD INSTALL MyPackage' works fine, but when I do 'R CMD CHECK MyPackage', and it tests installation, the configure script doesn't run and consequently the installation fails.  Should I be setting the variable another way?  It passes all the other checks, and it will install outside of check, so could I just submit it as is?

Thanks!
#
Please don't spam multiple lists!

And follow the posting guide: you have not given the reproducible 
example asked for, there is no signature block ....

Of course you could waste people's time by submitting a package that 
does not past R CMD check, but you are asked to follow a set of checks 
in 'Writing R Extensions' and the CRAN workers do not have unlimited 
patience ....
On Thu, 28 Jul 2011, Alexander James Rickett wrote: