search for: r_user_cache_dir

Displaying 3 results from an estimated 3 matches for "r_user_cache_dir".

2023 Jun 27
2
Correct use of tools::R_user_dir() in packages?
...data, config, and cache information respectively. These standard best practices include writing to directories in the users home filespace, which is also specifically against CRAN policy. These defaults can be overridden by setting the environmental variables R_USER_DATA_DIR , R_USER_CONFIG_DIR, R_USER_CACHE_DIR, respectively. If R developers should be using the locations provided by tools::R_user_dir() in packages, why does CRAN's check procedure not set these three environmental variables to CRAN compliant location by default (e.g. tempdir())? In order to comply with CRAN policy, a package develope...
2023 Jun 28
1
Correct use of tools::R_user_dir() in packages?
.... These standard best practices include writing to > > directories in the users home filespace, which is also specifically > > against CRAN policy. > > > > These defaults can be overridden by setting the environmental > > variables R_USER_DATA_DIR , R_USER_CONFIG_DIR, R_USER_CACHE_DIR, > > respectively. > > > > If R developers should be using the locations provided by > > tools::R_user_dir() in packages, why does CRAN's check procedure not > > set these three environmental variables to CRAN compliant location by > > default (e.g. tempdir()...
2023 Jun 29
1
Correct use of tools::R_user_dir() in packages?
...actices include writing to > > > directories in the users home filespace, which is also specifically > > > against CRAN policy. > > > > > > These defaults can be overridden by setting the environmental > > > variables R_USER_DATA_DIR , R_USER_CONFIG_DIR, R_USER_CACHE_DIR, > > > respectively. > > > > > > If R developers should be using the locations provided by > > > tools::R_user_dir() in packages, why does CRAN's check procedure not > > > set these three environmental variables to CRAN compliant location by > &gt...