delete_cache {bcmaps}R Documentation

View and delete cached files

Description

View and delete cached files

Show the files you have in your cache

Usage

delete_cache(files_to_delete = NULL)

show_cached_files()

Arguments

files_to_delete

An optional argument to specify which files or layers should be deleted from the cache. Defaults to deleting all files pausing for permission from user. If a subset of files are specified, the files are immediately deleted.

Value

delete_cache(): A logical of whether the file(s) were successful deleted

show_cached_files(): a data.frame with the columns:

Examples

## Not run: 
## 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'))

## End(Not run)

[Package bcmaps version 1.0.2 Index]