cache_clear: Clear data from the passthrough cache for complex or long...

cache_clearR Documentation

Clear data from the passthrough cache for complex or long running operations

Description

Clear data from the passthrough cache for complex or long running operations

Usage

cache_clear(
  .cache = getOption("cache.dir", default = rappdirs::user_cache_dir("ggrrr")),
  .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)

Value

nothing. called for side effects

Examples

cache_clear(.prefix="example", .cache=tempdir(), interactive=FALSE)

terminological/ggrrr documentation built on June 15, 2024, 6:35 a.m.