R/cache.R

Defines functions forget_exoplanets

Documented in forget_exoplanets

#' Clear the exoplanets cache
#'
#' Forget past results and reset the \code{exoplanets} cache.
#'
#' @examples
#' if (interactive()) {
#'   system.time(exoplanets("k2names"))
#'   system.time(exoplanets("k2names"))
#'   forget_exoplanets()
#'   system.time(exoplanets("k2names"))
#' }
#'
#' @export
forget_exoplanets <- function() {
  memoise::forget(exoplanets)
}

Try the exoplanets package in your browser

Any scripts or data that you put into this service are public.

exoplanets documentation built on July 24, 2021, 5:07 p.m.