R/onLoad.R

Defines functions onLoad

.onLoad <- function(lib, pkg){
  #automatically loads the dataset when package is loaded
  #do not use this in combination with lazydata=true
  utils::data(recommender, package = pkg, envir = parent.env(environment()))
}
paulij/recommendMovies documentation built on May 24, 2017, 1:40 a.m.