#' @importFrom gridExtra grid.arrange
#' @importFrom DT datatable
.onLoad <- function(libname = find.package("santaR"), pkgname = "santaR"){
# CRAN Note avoidance
if(getRversion() >= "2.15.1") {
utils::globalVariables(
# data.frame column names used in ggplot (cannot use aes_string due to transformations to the column in aes())
c("x","y","count","percent","colFill","value","PC")
)
invisible()
}
}
.onAttach <- function(libname, pkgname) {
packageStartupMessage(
paste("\nThis is santaR version", utils::packageVersion("santaR"), "\n"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.