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

Writing to the users filesystem - addressing package development requirements #35

Open
jdeboer opened this issue Sep 16, 2015 · 3 comments

Comments

@jdeboer
Copy link
Owner

jdeboer commented Sep 16, 2015

Currently, the following functions will need to be reviewed against those requirements:

  • GoogleApiCreds
  • GaMetaUpdate
@jdeboer
Copy link
Owner Author

jdeboer commented Jan 25, 2016

The following package may be useful for addressing this requirement:
https://github.com/hadley/rappdirs

For example, see how this is used by the swirl package: https://github.com/swirldev/swirl

@jdeboer
Copy link
Owner Author

jdeboer commented Jun 23, 2018

This issue may be made redundant by replacing the above mentioned functions with calls to their googleAnalyticsR counterparts. @MarkEdmondson1234

@jdeboer
Copy link
Owner Author

jdeboer commented Jun 23, 2018

As per package development guidelines:
"Packages should not write in the users' home filespace, 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.

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

1 participant