Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caching http requests and CRAN policies #14

Open
dickoa opened this issue May 19, 2020 · 3 comments
Open

Caching http requests and CRAN policies #14

dickoa opened this issue May 19, 2020 · 3 comments

Comments

@dickoa
Copy link

dickoa commented May 19, 2020

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
Copy link
Owner

sckott commented May 19, 2020

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
Copy link
Author

dickoa commented May 20, 2020

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

@sckott
Copy link
Owner

sckott commented May 20, 2020

thanks! and thx for using the pkgs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants