Skip to contents

Removes package-managed cache entries. By default, only canonical cleaned datasets are removed; the downloaded source archive is retained. Files outside the package's managed cache paths are never touched.

Usage

clear_infosiga_cache(processed = TRUE, source = FALSE, quiet = FALSE)

Arguments

processed

Logical. Remove all canonical cleaned datasets.

source

Logical. Also remove the downloaded source ZIP archive.

quiet

Logical. Suppress the completion message.

Value

Invisibly, the paths that were selected for removal.

Examples

temporary_cache <- tempfile("infosigasp-example-")
old_options <- options(infosigasp.cache_dir = temporary_cache)
clear_infosiga_cache(quiet = TRUE)
options(old_options)