Deletes all files downloaded and cached by readaec. The next function call will re-download fresh data from the AEC.
Examples
# \donttest{
op <- options(readaec.cache_dir = tempdir())
clear_cache()
#> Warning: cannot remove file '/tmp/RtmpMo1eDE/bslib-7db53ff92ec092c0dbca0588320fd109', reason 'Directory not empty'
#> Warning: cannot remove file '/tmp/RtmpMo1eDE/downlit', reason 'Directory not empty'
#> Cleared 3 cached files.
options(op)
# }