Deletes cached files and (optionally) removes rows from the cache index.
wj_cache_clear(
cache_dir = NULL,
cache_scope = c("user", "project"),
pkg = "weatherjoin",
filter = NULL,
keep_index = FALSE,
dry_run = FALSE,
verbose = TRUE
)Invisibly returns the rows selected for deletion.
Optional explicit cache directory.
Where to store cache by default: "user" or "project".
Package name used for "user" cache scope.
Optional expression evaluated within the cache index to select entries to remove.
If TRUE, leaves index rows (useful for debugging); default FALSE.
If TRUE, prints what would be deleted but does not delete.
If TRUE, prints progress.