Use this function with caution. This function would clear your cached data and configuration, specifically:
Deletes the CatastRoNav config directory (
rappdirs::user_config_dir("CatastRoNav", "R")
).Deletes the
cache_dir
directory.Deletes the values on stored on
Sys.getenv("CATASTRONAV_CACHE_DIR")
.
Details
This is an overkill function that is intended to reset your status as it you would never have installed and/or used CatastRoNav.
See also
Other cache utilities:
catrnav_set_cache_dir()
Examples
# Don't run this! It would modify your current state
# \dontrun{
catrnav_clear_cache(verbose = TRUE)
#> CatastRoNav cached data deleted: C:\Users\RUNNER~1\AppData\Local\Temp\Rtmp885Mdr/CatastRoNav
# }
Sys.getenv("CATASTRONAV_CACHE_DIR")
#> [1] ""