clear_cache: Clear the fred cache

View source: R/cache.R

clear_cacheR Documentation

Clear the fred cache

Description

Deletes all locally cached FRED data files. The next call to any data function will re-download from the FRED API.

Usage

clear_cache()

Value

Invisible NULL.

See Also

Other configuration: fred_get_key(), fred_request(), fred_set_key()

Examples


op <- options(fred.cache_dir = tempdir())
clear_cache()
options(op)


fred documentation built on March 19, 2026, 5:09 p.m.