damdaStartupMessage <- function()
{
msg <- c(paste0(
"damda --- version ", utils::packageVersion("damda")),
"\nType 'citation(\"damda\")' for citing this R package in publications."
)
return(msg)
}
.onAttach <- function(lib, pkg)
{
# startup message
msg <- damdaStartupMessage()
packageStartupMessage(msg)
invisible()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.