manage_cache <- NULL # nocov start
.onLoad <-
function(libname = find.package("getCRUCLdata"),
pkgname = "getCRUCLdata") {
# CRAN Note avoidance
if (getRversion() >= "2.15.1") {
utils::globalVariables(c("."))
x <- hoardr::hoard()
x$cache_path_set(path = "getCRUCLdata", type = "user_cache_dir")
manage_cache <<- x
}
}
#' @import data.table
NULL
# nocov end
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.