R/zzz.R

Defines functions .onLoad

## covr: skip=all
.onLoad <- function(libname, pkgname) {
  value <- getOption("doFuture.workarounds")
  if (is.null(value)) {
    value <- trim(Sys.getenv("R_DOFUTURE_WORKAROUNDS"))
    value <- unlist(strsplit(value, split = ",", fixed = TRUE))
    value <- trim(value)
    options(doFuture.workarounds = value)
  }
}

Try the doFuture package in your browser

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

doFuture documentation built on April 1, 2023, 12:22 a.m.