#' Clear the opencage cache
#'
#' Forget past results and reset the \pkg{opencage} cache.
#'
#' @examplesIf oc_key_present() && oc_api_ok()
#'
#' system.time(oc_reverse(latitude = 10, longitude = 10))
#' system.time(oc_reverse(latitude = 10, longitude = 10))
#' oc_clear_cache()
#' system.time(oc_reverse(latitude = 10, longitude = 10))
#'
#' @export
oc_clear_cache <- function() {
memoise::forget(oc_get_memoise)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.