catr_clear_cache {CatastRo} | R Documentation |
Clear your CatastRo cache dir
Description
Use this function with caution. This function would clear your cached data and configuration, specifically:
Deletes the CatastRo config directory (
rappdirs::user_config_dir("CatastRo", "R")
).Deletes the
cache_dir
directory.Deletes the values on stored on
Sys.getenv("CATASTROESP_CACHE_DIR")
.
Usage
catr_clear_cache(config = FALSE, cached_data = TRUE, verbose = FALSE)
Arguments
config |
if |
cached_data |
If this is set to |
verbose |
Logical, displays information. Useful for debugging,
default is |
Details
This is an overkill function that is intended to reset your status as it you would never have installed and/or used CatastRo.
Value
Invisible. This function is called for its side effects.
See Also
Other cache utilities:
catr_set_cache_dir()
Examples
# Don't run this! It would modify your current state
## Not run:
catr_clear_cache(verbose = TRUE)
## End(Not run)
Sys.getenv("CATASTROESP_CACHE_DIR")
[Package CatastRo version 0.4.0 Index]