Skip to contents

Removes all cached data files from the local cache directory.

Usage

clear_cache(confirm = TRUE)

Arguments

confirm

Logical. If TRUE (default), prompts for confirmation before clearing. Set to FALSE to skip confirmation.

Value

Invisible NULL. Called for side effects.

Examples

# \donttest{
clear_cache()
#> Cache directory does not exist. Nothing to clear.
clear_cache(confirm = FALSE)
#> Cache directory does not exist. Nothing to clear.
# }