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.
1 parent a2b9d11 commit 611c689Copy full SHA for 611c689
R/zzz.R
@@ -76,7 +76,7 @@ remove_old_cache_files <- function() {
76
path_version_specific,
77
full.names = TRUE, recursive = TRUE
78
)
79
- date_boundary <- Sys.time() - 60L * 60L * 24L * 6L
+ date_boundary <- Sys.time() - as.difftime(6, unit = "days")
80
file.remove(
81
all_cached[file.info(all_cached)$mtime < date_boundary]
82
0 commit comments