Nothing
utils::globalVariables(".")
startupMessage <- function() {
version <- packageVersion("sreg")
msg <- c(
paste0(
col_blue(" ____ ____ _____ ____ Stratified Randomized\n"),
col_blue(" / ___|| _ \\| ____/ ___| Experiments\n"),
col_blue(" \\___ \\| |_) | _|| | _ \n"),
col_blue(" ___) | _ <| |__| |_| | \n"),
col_blue(" |____/|_| \\_\\_____\\____| "), col_cyan("version "), col_cyan(version), "\n",
" \n"
),
col_cyan("\nType 'citation(\"sreg\")' for citing this R package in publications.")
)
return(msg)
}
.onAttach <- function(lib, pkg) {
msg <- startupMessage()
if (!interactive()) {
msg[1] <- paste("Package 'sreg' version", packageVersion("sreg"))
}
packageStartupMessage(msg)
invisible()
}
.onLoad <- function(libname, pkgname) {
registerS3method("print", "sreg", print.sreg)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.