I recently upgraded R to 2.11.1 from 2.10.0 and now my package installation fails:
$ R CMD INSTALL --build blah_1.0.tar.gz
* installing to library 'c:/PROGRA~1/r/R-211~1.1/library'
* installing *source* package 'blah' ...
** libs
making DLL ...
... done
ERROR: compilation failed for package 'blah'
* removing 'c:/PROGRA~1/r/R-211~1.1/library/blah'
* restoring previous 'c:/PROGRA~1/r/R-211~1.1/library/blah'
It passes R CMD BUILD
but it fails with that message in both R CMD INSTALL
and R CMD CHECK
. Does anyone know either (1) what might be causing this issue with the latest version of R or (2) how I can get a more detailed error message?
When running INSTALL
with the debug flag set -d
, I get this additional info:
** backing up earlier installation
** libs
making DLL ...
about to run R CMD SHLIB -o blah.dll
... done
ERROR: compilation failed for package 'blah'
This still isn't very helpful...