Clear data from the passthrough cache for complex or long running operations
Source:R/cache-internals.R
dot-cache_clear.Rd
Clear data from the passthrough cache for complex or long running operations
Usage
.cache_clear(
.cache = getOption("cache.dir", rappdirs::user_cache_dir(utils::packageName())),
.prefix = ".*",
interactive = TRUE
)
Arguments
- .cache
the location of the cache as a directory. May get its value from options("ggrrr.cache.dir") or the default value of rappdirs::user_cache_dir("ggrrr")
- .prefix
a regular expression matching the prefix of the cached item, so that do selective clean up operations. defaults to everything.
- interactive
suppress
are you sure?
warning with a FALSE value (defaults to TRUE)