GamaWelcomeMessage <- function() {
msg <- c(paste0(
"GAMA - Genetic Approach to Maximize clustering criterion, version ", packageVersion("gama")),
"\nType 'citation(\"gama\")' for citing this R package in publications.")
return(msg)
}
.onAttach <- function(lib, pkg) {
# startup message
msg <- GamaWelcomeMessage()
if(!interactive())
msg[1] <- paste("Package 'gama', version", packageVersion("gama"))
packageStartupMessage(msg)
invisible()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.