cache_clear: Empty the page cache

View source: R/page_cache.R

cache_clearR Documentation

Empty the page cache

Description

Empty the page cache

Usage

cache_clear(dir = NULL)

Arguments

dir

Cache directory. Defaults to the session cache used when collect_content() is called without cache_dir.

Value

Invisibly, the number of cached pages removed.

Examples

## Not run: 
cache_clear()
cache_clear(rdomains_cache_dir())

## End(Not run)

rdomains documentation built on Oct. 29, 2026, 9:07 a.m.