#' @keywords internal
"_PACKAGE"
.onAttach <- function(libname, pkgname) {
if (!requireNamespace("genderdata", quietly = TRUE)) {
install.packages(
"genderdata",
type = "source",
repos = "http://packages.ropensci.org"
)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.