View and delete cached files
Show the files you have in your cache
Value
delete_cache()
: A logical of whether the file(s) were successful deleted
show_cached_files()
: a data.frame with the columns:
file
, the name of the file,size_MB
, file size in MB,is_dir
, is it a directory? If you have cached tiles from thecded()
functions, there will be a row in the data frame showing the total size of the cded tiles cache directory.modified
, date and time last modified
Examples
if (FALSE) { # \dontrun{
## See which files you have
show_cached_files()
## Delete your whole cache
delete_cache()
## Specify which files are deleted
delete_cache(c('regional_districts.rds', 'bc_cities.rds'))
} # }