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