R/reset_cache.R

Defines functions reset_cache

Documented in reset_cache

#' Reset Cache and Update all Local Data
#' @return Null
#' @export
#' @importFrom memoise cache_filesystem
#' @examples
#'
#'## Code
#'reset_cache

reset_cache <- function() {

  unlink(".cache", recursive = TRUE)

  cache <- memoise::cache_filesystem(".cache")

  return(invisible(NULL))
  
}
epiforecasts/NCoVUtils documentation built on June 26, 2020, 1:20 a.m.