R/cache.R
knbs_cache_clear.Rd
Empty the cache
knbs_cache_clear(quiet = knbs_option("quiet"))
Suppress the summary message.
The number of entries removed, invisibly.
knbs_cache_prune() to remove only expired entries.
knbs_cache_prune()
# A throwaway cache, so the example leaves yours alone op <- options(knbsdata.cache_dir = tempfile("knbs-cache-")) knbs_cache_clear() options(op)