R/rhooks.R

Defines functions .onLoad

#'@references http://thecoatlessprofessor.com/programming/r-data-packages-in-external-data-repositories-using-the-additional_repositories-field/

.onLoad <- function(...) {
      repos = getOption("repos")
      repos["datarepo"] = "http://miturbide.github.io/datarepo"
      options(repos = repos)
      invisible(repos)
}

Try the mopa package in your browser

Any scripts or data that you put into this service are public.

mopa documentation built on May 2, 2019, 6:47 a.m.