daynefiler / tcpl

Former repository for the tcpl R package project. New repo:
https://github.com/USEPA/CompTox-ToxCast-tcpl
4 stars 5 forks source link

CRAN email about issue with writing to library files. #22

Closed daynefiler closed 6 years ago

daynefiler commented 6 years ago

These all show check problems on the Debian check systems caused by attempts to write to the user library to which all packages get installed before checking (and which now is remounted read-only for checking). Having package code which is run as part of the checks and attempts to write to the user library violates the CRAN Policy's Packages should not write in the user’s home filespace (including clipboards), nor anywhere else on the file system apart from the R session’s temporary directory (or during installation in the location pointed to by TMPDIR: and such usage should be cleaned up). Hence, please update your package(s) as quickly as possible to no longer (attempt to) write to the user library (including, of course, the location where the package itself was installed to).

I am not sure where the issue is here. We need to maintain the ability to write to the library to control the configuration file. However, it sounds like the issue is just during the checking? I thought the issue may be examples within the help files, but it does not look like any examples are being run.

daynefiler commented 6 years ago

I think the problem may be in the vignette, because the vignette writes to the SQLite database. I am not sure how we will get around this.