miraisolutions / xlconnect

XLConnect: Excel Connector for R
129 stars 32 forks source link

Run tests with a readonly library on CRAN #221

Closed spoltier closed 5 months ago

spoltier commented 5 months ago

There is a new CRAN check, running the package check with a readonly R library. See https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/XLConnect-00check.html and https://github.com/kalibera/cran-checks/tree/master/rlibro/results/XLConnect.

→ Avoid any writes in the non-FULL case, including writing the unit tests results.

spoltier commented 5 months ago

@martinstuder tried to do a check for files added to the library after installation, but there is no option to do this with the R check action, and the action itself either cleans up or uses its own R lib. I checked locally on multiple machines, that should suffice.