R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  chk <- tolower(Sys.getenv("_R_CHECK_LIMIT_CORES_", ""))

  if (nzchar(chk) && !chk %in% c("false", "0")) {
    data.table::setDTthreads(2L)
  }
}

Try the hydroloom package in your browser

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

hydroloom documentation built on Aug. 4, 2026, 1:07 a.m.