R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  ## Set 'queue' option by environment variable
  value <- Sys.getenv("R_FUTURE_REDIS_QUEUE", NA_character_)
  if (!is.na(value)) {
    options(future.redis.queue = value)
  }
}
bwlewis/future.redis documentation built on May 12, 2023, 1:52 a.m.