Skip to contents

Deletes all locally cached carbon market data files. The next call to any data function will re-download.

Usage

co2_clear_cache()

Value

Invisibly returns NULL.

See also

Other configuration: co2_cache_info()

Examples

# \donttest{
op <- options(carbondata.cache_dir = tempdir())
co2_clear_cache()
#> Removed 4 cached files from /tmp/RtmpbMegKM.
options(op)
# }