R/on_load.R

Defines functions .onAttach

# nocov start
.onAttach <- function(libname, pkgname) {
  if (Sys.getenv("_R_CHECK_LIMIT_CORES_") != "") {
    if (as.logical(Sys.getenv("_R_CHECK_LIMIT_CORES_"))) {
      packageStartupMessage("_R_CHECK_LIMIT_CORES_ is set to TRUE. Running on 2 cores")
      Sys.setenv("RAYON_NUM_THREADS" = 2)
    }
  }
}
# nocov end

Try the zoomerjoin package in your browser

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

zoomerjoin documentation built on April 13, 2025, 9:08 a.m.