R/zzz.R

Defines functions .onAttach .onLoad

.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()
}
zieglerjef/openEnded documentation built on Nov. 30, 2020, 2:03 p.m.