R/bumblee_welcome.r

Defines functions .onLoad .onAttach

.onAttach <- function(libname, pkgname) {
  packageStartupMessage("Welcome to bumblebee \n see https://magosil86.github.io/bumblebee/ for examples and documentation")
}


.onLoad <- function(libname, pkgname) {
  op <- options()
  op.bumblebee <- list(
    bumblebee.path = "",
    bumblebee.install.args = "",
    bumblebee.name = "Lerato E. Magosi",
    bumblebee.desc.author = '"Lerato E. Magosi <magosil86@gmail.com> [aut, cre]"',
    bumblebee.desc.license = "MIT",
    bumblebee.desc.suggests = NULL,
    bumblebee.desc = list()
  )
  toset <- !(names(op.bumblebee) %in% names(op))
  if(any(toset)) options(op.bumblebee[toset])

  invisible()
}

Try the bumblebee package in your browser

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

bumblebee documentation built on May 11, 2021, 5:06 p.m.