# --------------------------------------
# on loading hydropaper
.onAttach <- function(lib, pkg)
{
vers <- read.dcf(file.path(lib, pkg, "DESCRIPTION"), "Version")
packageStartupMessage(paste("---\nhydropaper version", vers))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.