##' @importFrom curl has_internet
.onLoad <- function(libname, pkgname) {
if (curl::has_internet())
.createDepMapHubAccessors()
else
warning("Not internet connectivity. Unable to create Hub accessors.",
call. = FALSE)
}
.onAttach <- function(libname, pkgname) {
packageStartupMessage(paste0("This is depmap release ", depmap_release()))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.