.onAttach <- function (...) {
meta <- packageDescription("QCApro")
year <- sub("-.*", "", meta$Date)
title <- meta$Title
note <- sprintf("R Package Version %s.", meta$Version)
msg1 <- paste("Thiem, Alrik.", sprintf("%s.", year),
sprintf("%s.", title), note,
"URL: http://www.alrik-thiem.net/software/.")
msg1 <- paste(strwrap(msg1, indent = 2, exdent = 2), collapse = "\n")
packageStartupMessage("\nPlease cite the 'QCApro' package as follows:\n\n",
msg1, "\n\nA BibTeX entry can be generated by:\n\n citation(package = \"QCApro\")\n",
"\nChanges between package versions can be browsed by:\n\n news(package = \"QCApro\")\n",
"\nNOTE: As some function and object names still overlap with the QCA/QCAGUI package,\n you should NOT work with QCApro and QCA/QCAGUI within the same session.\n Otherwise, internal conflicts may occur.\n")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.