.onAttach <- function(lib, pkg, ...){
packageStartupMessage(welcomeMessage())
}
welcomeMessage <- function(){
paste0("\n",
"---------------------\n",
"Welcome to exp2qcdt version ", utils::packageDescription("exp2qcdt")$Version, "\n",
# "\n",
"Type ?exp2qcdt for the main documentation.\n",
"The github page is: https://github.com/clinico-omics/exp2qcdt\n",
"\n",
"Need help getting started? Github README: https://github.com/clinico-omics/exp2qcdt \n",
"\n",
"To suppress this message use: ", "suppressPackageStartupMessages(library(exp2qcdt))\n",
"---------------------\n"
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.