Created attachment 1649 [details]
00install.out from the above test
Steps to reproduce:
- Naked system (I used Windows 8.1 32-bit)
- Install R in C:\R
- Set all files and folders under C:\R to "read-only"
- Set R_LIBS_USER environment variable to e.g. C:\RLibrary, create appropriate empty directory
- Run R CMD build and R CMD check --as-cran for a package that imports the MASS package (e.g. https://github.com/krlmlr/r-appveyor/archive/mass.zip)
* checking whether package 'fakepackage' can be installed ...Warning: running command '"D:/R/bin/i386/Rcmd.exe" INSTALL -l "C:/r-appveyor/fakepackage.Rcheck" --no-html --no-multiarch "C:\R-APPV~1\FAKEPA~1.RCH\00_PKG~1\FAKEPA~1"' had status 1
See 'C:/r-appveyor/fakepackage.Rcheck/00install.out' for details.
- Checks succeed.
- Taking away the read-only status from C:\R\library\MASS\DESCRIPTION resolves the issue
- Manually installing MASS to the user library also resolves the issue
- Omitting --as-cran does not lead to this error
- Tested with R-devel r66437 and R 3.1.1, identical behavior
- I have read http://cran.r-project.org/bin/windows/base/rw-FAQ.html#Does-R-run-under-Windows-Vista_003f, but this currently seems to be the only issue that prevents running R from a read-only file system
Created attachment 1650 [details]
File created by R CMD check, corrected