Sets the cache folder or changes it if it was already set to save caches.

change_cache_folder(folder = null, verbose = FALSE)

Arguments

folder

Folder to set as a cache folder. The default value is NULL, which triggers the check_users_choice_if_cache function that provides some options to the user to use it as a cache folder, a temporary one, or disable caching.

verbose

Boolean. If TRUE, it provides information when the cache folder is set. Otherwise, it only prints a warning when there is an error.

Value

No return value, called for side effects

Examples

change_cache_folder("my_cache_folder", verbose = TRUE)
#> cache folder was set [my_cache_folder]