Skip to contents

Deletes the contents of the project's cache/ directory. Leaves raw/, processed/ and validation/ unchanged. An empty cache needs no action.

Usage

clear_cache(project, quiet = FALSE)

Arguments

project

A polis_project.

quiet

Suppress the success message. Default FALSE.

Value

The project, invisibly.

Examples

proj <- init_polis_project(file.path(tempdir(), "polis_demo"), quiet = TRUE)
clear_cache(proj, quiet = TRUE)