Reset Cache and Update all Local Data

reset_cache(refresh_data = FALSE)

Arguments

refresh_data

Logical defaults to FALSE. Should all data sources be refreshed once the cache has been removed.

Value

Null

Examples

## Code reset_cache
#> function (refresh_data = FALSE) #> { #> unlink(".cache", recursive = TRUE) #> cache <- memoise::cache_filesystem(".cache") #> if (refresh_data) { #> tmp <- NCoVUtils::get_international_linelist() #> tmp <- NCoVUtils::get_who_cases() #> tmp <- NCoVUtils::get_italy_regional_cases() #> } #> return(invisible(NULL)) #> } #> <bytecode: 0x7fe28212ea68> #> <environment: namespace:NCoVUtils>