cache_delete: Delete cached files

Description Usage Arguments See Also Examples

View source: R/cache_delete.R

Description

Delete cached files

Usage

1
2
3

Arguments

x

File names

force

(logical) Should files be force deleted? Default: FALSE

See Also

Other cache: cache_details(), cache_list(), cache_setup()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
## Not run: 
# delete files by name in cache
# cache_delete('9911750294a039b8b517c8bf288978ea.csv')
# cache_delete(c('9911750294a039b8b517c8bf288978ea.csv',
#                'b26825b6737da13d6a52c28c8dfe690f.csv'))

# You can delete from the output of griddap or tabledap fxns
## tabledap
(table_res <- tabledap('erdCinpKfmBT'))
cache_delete(table_res)

## griddap
(out <- info('erdQMekm14day'))
(grid_res <- griddap(out,
 time = c('2015-12-28','2016-01-01'),
 latitude = c(24, 23),
 longitude = c(88, 90)
))
cache_delete(grid_res)

## End(Not run)

rerddap documentation built on March 6, 2021, 1:06 a.m.