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