Return package local cache path
Caching.RdReturn package local cache path
Clear the package's local cache path
Attempts to delete all folder/files in cache_path().
Usage
cache_path()
cache_clear(what = c("gcms", "gcmts", "gcmhist", "reference", "obs", "obs_ts"))Value
character. The full path of the package local cache.
TRUE or FALSE depending on whether cache was cleared successfully or not.
Details
By default, it uses tools::R_user_dir(). The cache location can be
set using the climr.cache.path option with options("climr.cache.path" = "your_path").
It may fail if R has no permission to delete files/folders
in the cache_path() directory