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!
R CMD CHECK doens't run configure when testing install?
2 messages · Alexander James Rickett, Brian Ripley
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:
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!
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595