#' @importFrom utils packageVersion
.onAttach <- function(libname, pkgname) {
startUpMessage <- paste0("Package \"complex\", v",packageVersion(pkgname)," loaded.");
packageStartupMessage(startUpMessage);
}
.onUnload <- function (libpath) {
library.dynam.unload("complex", libpath);
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.