R/zzz.R

Defines functions .onLoad .onAttach

.onAttach <- function(libname, pkgname) { # nolint
  packageStartupMessage("
    EpiGraphDB v0.3 (API: https://api.epigraphdb.org)
  ")
}

.onLoad <- function(libname, pkgname) { # nolint
  op <- options()
  op.epigraphdb <- list( # nolint
    epigraphdb.api.url = "https://api.epigraphdb.org"
  )
  toset <- !(names(op.epigraphdb) %in% names(op))
  if (any(toset)) options(op.epigraphdb[toset])

  invisible()
}

Try the epigraphdb package in your browser

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

epigraphdb documentation built on Aug. 26, 2020, 5:13 p.m.