.onLoad <- function(libname, pkgname) {
can_cache <- requireNamespace("memoise", quietly = TRUE) &
requireNamespace("cachem", quietly = TRUE)
if (can_cache) {
verb_doi <<- memoise::memoise(retry_doi)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.