Skip to contents

`saga_gis()` caches the parsed SAGA-GIS tool libraries to speed up subsequent calls. The cache is stored in the per-user cache directory (`tools::R_user_dir("Rsagacmd", "cache")`, or the directory given by the `RSAGACMD_CACHE_DIR` environment variable if that is set). During `R CMD check` this location is redirected to a temporary directory that is removed afterwards, so no files are left on CRAN servers. Use this function to delete the cached files from your own computer.

Usage

saga_clear_cache()

Value

Nothing is returned.

See also

[saga_gis()] for the `use_cache` and `refresh` arguments that control caching.

Examples

if (FALSE) { # \dontrun{
# Remove all cached SAGA-GIS documentation
saga_clear_cache()
} # }