.onAttach <- function(libname, pkgname) {
rtver <- read.dcf(file = system.file("DESCRIPTION", package = "regTex"),
fields = "Date")
packageStartupMessage(paste("This version is from", rtver))
packageStartupMessage(paste("Make sure to add \\usepackage{siunitx}",
"to your LaTeX preamble."))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.