R/clear_cache.r

Defines functions clear_cache

Documented in clear_cache

#' Title
#'
#' @return
#' @export
#'
#' @examples
clear_cache <- function() {
  unlink(dir("caches", full.names = TRUE))
  if (".caches" %in% ls(envir = globalenv(), all.names = TRUE)) rm(list = ls(.caches), envir = .caches)
}
georgfoe/cacher documentation built on Nov. 4, 2019, 1:04 p.m.