R/onLoad.R

.onLoad <- function(lib, pkg){
  #automatically loads the dataset when package is loaded
  #do not use this in combination with lazydata=true
  utils::data(blueconic_model, package = pkg, envir = parent.env(environment()))
}
CuriousGeorge7265/blueconic documentation built on May 28, 2019, 12:30 a.m.