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/RtmpuKtog9/bslib-36dd7d54583ca31becd9906e27a99038', reason 'Directory not empty'
#> Warning: cannot remove file '/tmp/RtmpuKtog9/downlit', reason 'Directory not empty'
#> Cleared 3 cached files.
options(op)
# }