sckott / webmiddens

cache http requests
https://sckott.github.io/webmiddens
Other
10 stars 1 forks source link

Caching http requests and CRAN policies #14

Open dickoa opened 4 years ago

dickoa commented 4 years ago

Hi @sckott ,

Thanks for this great package, I started using and wanted to know if the following CRAN policy also apply to webmiddens or any other package to cache http requests:

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). Installing into the system’s R installation (e.g., scripts to its bin directory) is not allowed.

Limited exceptions may be allowed in interactive sessions if the package obtains confirmation from the user.

Thanks again

cc @hrbrmstr

sckott commented 4 years ago

The pkg doesn't ask for permission from the user to write to disk. In tests/etc. we use temp directories, but for real usage files go to cache directories as sorted out by rappdirs.

dickoa commented 4 years ago

Thanks a lot for the clarification and thanks again for this package. The ecosystem around crul is just awesome!

sckott commented 4 years ago

thanks! and thx for using the pkgs.