.onLoad <- function(libname, pkgname) {
print("Hello, welcome to openEnded! Please be patient while I load my dependencies :)")
}
.onAttach <- function(libname, pkgname) {
# load and install all dependency libraries
lapply(c("stringdist",
"stringr",
"ggplot2",
"tidyr",
"text2vec",
"data.table",
"reshape2",
"Zelig",
"ggcorrplot",
"texreg",
"text2vec",
"AER",
"xtable",
"texreg",
"plyr",
"MASS",
"ggridges",
"RcppAlgos",
"tidyverse",
"ggpubr"), pkgTest)
invisible()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.