-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Setting env var R_REQUIRE_PKG_CACHE=/mnt/shared_cache/Require/packages does not properly create the directory structure of the default package cache directory.
Specifically, I would expect that the R version (4.3 here) would be automatically appended to the path, rather than relying on the user to actively maintain and update their ~/.Renviron file to manually specify the R version (which also prevents multiple versions of R being used on the same machine).
d> getOption("Require.RPackageCache")
[1] "default"
d> RequirePkgCacheDir(FALSE)
/home/achubaty/.cache/R/Require/packages/4.3
"/home/achubaty/.cache/R/Require/packages/4.3"
d> Require::getOptionRPackageCache()
[1] "/mnt/shared_cache/Require/packages"Metadata
Metadata
Assignees
Labels
No labels