From c552c259518b95a4544457966db28f13e70216e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Cs=C3=A1rdi?= Date: Tue, 21 Nov 2023 15:25:35 +0100 Subject: [PATCH] Revert "Fully qualify R_user_dir" This reverts commit ebebfc3a871024e7c2161063923a90e3f9d1e428. --- R/cache-dirs.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/cache-dirs.R b/R/cache-dirs.R index 87aa5df8..9bca8dd9 100644 --- a/R/cache-dirs.R +++ b/R/cache-dirs.R @@ -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") }