ct_cache_clear: Clear the Comtrade Cache

View source: R/key.R

ct_cache_clearR Documentation

Clear the Comtrade Cache

Description

Remove all cached Comtrade API responses from the local cache directory.

Usage

ct_cache_clear()

Value

Invisibly returns TRUE if the cache was cleared, FALSE if no cache directory existed.

Examples


op <- options(comtrade.cache_dir = tempdir())
ct_cache_clear()
options(op)


comtrade documentation built on April 13, 2026, 5:07 p.m.