kill_cache: Kill Cache

View source: R/killCache.r

kill_cacheR Documentation

Kill Cache

Description

Remove the contents of subdirectory 'cache', 'figure' and 'table'.

Usage

kill_cache(
  pattern = NULL,
  cache = TRUE,
  figure = TRUE,
  table = TRUE,
  env = NULL
)

killCache(
  pattern = NULL,
  cache = TRUE,
  figure = TRUE,
  table = TRUE,
  env = TRUE
)

Arguments

pattern

if not NULL (default) this can search for cache items to remove

cache

remove files from sub directory 'cache'? (default: TRUE)

figure

remove files from sub directory 'figure'? (default: TRUE)

table

remove files from sub directory 'table'? (default: TRUE)

env

remove ALL objects in the global environment? (default: TRUE if no pattern given)

Details

Sometimes it is easier clean the cache than to set CACHE = FALSE globally, since you may have forgotten to specify all dependencies...

Functions

  • killCache: An alias

Author(s)

Henrik Renlund


renlund/proh documentation built on March 25, 2023, 10:07 a.m.