Skip to content

Commit

Permalink
Revert "Fully qualify R_user_dir"
Browse files Browse the repository at this point in the history
This reverts commit ebebfc3.
  • Loading branch information
gaborcsardi committed Nov 21, 2023
1 parent 7814758 commit c552c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/cache-dirs.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ get_user_cache_dir <- function() {

# R_PKG_CACHE_DIR first. R_user_dir uses R_USER_CACHE_DIR, if set.
if (cdir == "") {
cdir <- tools::R_user_dir("pkgcache", "cache")
cdir <- R_user_dir("pkgcache", "cache")
} else {
cdir <- file.path(cdir, "R", "pkgcache")
}
Expand Down

0 comments on commit c552c25

Please sign in to comment.