.onLoad <- function(libname, pkgname) { }
.onAttach <- function(...) {
theLib <- dirname(system.file(package = "rethinking"))
pkgdesc <- packageDescription("rethinking", lib.loc = theLib)
builddate <- gsub(';.*$', '', pkgdesc$Packaged)
msg <- paste("rethinking (Version ", pkgdesc$Version, ")", sep = "")
packageStartupMessage(msg)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.