.onAttach <- function(libname, pkgname) {
packageStartupMessage("Welcome to rspecies package.")
}
.onLoad <- function(libname, pkgname) {
op <- options()
op.rspecies <- list(rspecies.path = "~/R", rspecies.install.args = "", rspecies.name = "Enrique Del Callejo-Canal",
rspecies.desc.author = "\"Enrique Del Callejo-Canal <edelcallejoc@gmail.com> [aut, cre]\"",
rspecies.desc.license = "GPL-3", rspecies.desc.suggests = NULL, rspecies.desc = list())
toset <- !(names(op.rspecies) %in% names(op))
if (any(toset))
options(op.rspecies[toset])
invisible()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.