We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c38d7f9 + 3a13ef6 commit edf399cCopy full SHA for edf399c
R/zzz.R
@@ -36,7 +36,7 @@ delete_if_cache_directory <- function(path) {
36
if (getRversion() < package_version("4.0.0")) {
37
return(FALSE)
38
}
39
- designated_cache_path <- normalizePath(tools::R_user_dir("R.cache", which = "cache"))
+ designated_cache_path <- normalizePath(tools::R_user_dir("R.cache", which = "cache"), mustWork = FALSE)
40
is_in_tools_cache <- startsWith(path, designated_cache_path)
41
temp_dir <- normalizePath(dirname(tempdir()))
42
is_in_generic_cache <- startsWith(path, temp_dir)
0 commit comments