From 8be0992ba1cd84a50a0e3dbe8b4bdcda000c86ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Cs=C3=A1rdi?= Date: Tue, 21 Nov 2023 14:29:06 +0100 Subject: [PATCH] Update dev pkgcache --- src/library/pkgcache/DESCRIPTION | 2 +- src/library/pkgcache/R/cache-dirs.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/library/pkgcache/DESCRIPTION b/src/library/pkgcache/DESCRIPTION index bbe340e47..41a2c3df0 100644 --- a/src/library/pkgcache/DESCRIPTION +++ b/src/library/pkgcache/DESCRIPTION @@ -25,7 +25,7 @@ Language: en-US Roxygen: list(markdown = TRUE, r6 = FALSE) RoxygenNote: 7.2.3 NeedsCompilation: yes -Packaged: 2023-11-21 10:49:19 UTC; gaborcsardi +Packaged: 2023-11-21 13:28:55 UTC; gaborcsardi Author: Gábor Csárdi [aut, cre], Posit Software, PBC [cph, fnd] Maintainer: Gábor Csárdi diff --git a/src/library/pkgcache/R/cache-dirs.R b/src/library/pkgcache/R/cache-dirs.R index 9bca8dd97..87aa5df8d 100644 --- a/src/library/pkgcache/R/cache-dirs.R +++ b/src/library/pkgcache/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 <- R_user_dir("pkgcache", "cache") + cdir <- tools::R_user_dir("pkgcache", "cache") } else { cdir <- file.path(cdir, "R", "pkgcache") }