clear_cache: Clear the openesm cache

View source: R/utils.R

clear_cacheR Documentation

Clear the openesm cache

Description

Removes all cached openesm data from your local machine.

Usage

clear_cache(force = FALSE)

Arguments

force

Logical. If TRUE, will not ask for confirmation before deleting. Default is FALSE.

Value

Invisibly returns NULL.

Examples


# clear cache with confirmation prompt
if(interactive()) {
 clear_cache()
}

# force clear without confirmation
clear_cache(force = TRUE)


openesm documentation built on Dec. 3, 2025, 5:08 p.m.