Skip to content

Commit

Permalink
Merge 3a13ef6 into c38d7f9
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Nov 6, 2023
2 parents c38d7f9 + 3a13ef6 commit 99d64b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ delete_if_cache_directory <- function(path) {
if (getRversion() < package_version("4.0.0")) {
return(FALSE)
}
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)
is_in_tools_cache <- startsWith(path, designated_cache_path)
temp_dir <- normalizePath(dirname(tempdir()))
is_in_generic_cache <- startsWith(path, temp_dir)
Expand Down

0 comments on commit 99d64b2

Please # to comment.