.onAttach <- function(libname, pkgname) {
ver <- read.dcf(file = system.file("DESCRIPTION", package = pkgname),
fields = "Version")
packageStartupMessage("\nPackage ", pkgname, " (", ver, ") loaded.")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.