R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  op <- options()
  op.rgho <- list(
    rgho.verbose = FALSE,
    rgho.retry = 5,
    rgho.memotime = 3600,
    rgho.http_proxy = NULL,
    rgho.n = 6
  )
  toset <- !(names(op.rgho) %in% names(op))
  if(any(toset)) options(op.rgho[toset])

  invisible()
}
pierucci/rgho documentation built on May 25, 2019, 7:11 a.m.