R/misc.R

Defines functions .onAttach .onLoad

.onAttach <- function(libname, pkgname) {
  packageStartupMessage("Welcome to leabRa")
}

.onLoad <- function(libname, pkgname) {
  op <- options()
  op.devtools <- list(
    devtools.path = "~/R-dev",
    devtools.install.args = "",
    devtools.name = "Johannes Titz",
    devtools.desc.author =
      '"Johannes Titz <johannes.titz@gmail.com> [aut, cre]"',
    devtools.desc.license = "GPL-2",
    devtools.desc.suggests = NULL,
    devtools.desc = list()
  )
  toset <- names(op.devtools) %in% names(op)
  if (any(toset)) options(op.devtools[toset])

  invisible()
}

Try the leabRa package in your browser

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

leabRa documentation built on May 2, 2019, 3:46 p.m.