powered by
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")).
rappdirs::user_config_dir("CatastRo", "R")
Deletes the cache_dir directory.
cache_dir
Deletes the values on stored on Sys.getenv("CATASTROESP_CACHE_DIR").
Sys.getenv("CATASTROESP_CACHE_DIR")
catr_clear_cache(config = FALSE, cached_data = TRUE, verbose = FALSE)
Invisible. This function is called for its side effects.
if TRUE, will delete the configuration folder of CatastRo.
TRUE
If this is set to TRUE, it will delete your cache_dir and all its content.
Logical, displays information. Useful for debugging, default is FALSE.
FALSE
This is an overkill function that is intended to reset your status as it you would never have installed and/or used CatastRo.
Other cache utilities: catr_set_cache_dir()
catr_set_cache_dir()
# Don't run this! It would modify your current state if (FALSE) { catr_clear_cache(verbose = TRUE) } Sys.getenv("CATASTROESP_CACHE_DIR")
Run the code above in your browser using DataLab