Skip to contents

Nuclear option: clears ALL cached data and database. Use with caution - will require re-downloading all data.

Usage

clear_all_cache(confirm = FALSE, verbose = TRUE)

Arguments

confirm

Logical, must be TRUE to proceed (safety check)

verbose

Logical, print progress messages

Value

Invisibly returns list with: cache_cleared (logical), db_cleared (logical)

Examples

if (FALSE) { # \dontrun{
# Clear everything (requires confirm = TRUE)
clear_all_cache(confirm = TRUE)
} # }