R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  op <- options()
  op.fmriAR <- list(
    fmriAR.max_threads = NA_integer_,
    fmriAR.debug = FALSE,
    fmriAR.use_cpp_hr = TRUE
  )
  toset <- !(names(op.fmriAR) %in% names(op))
  if (any(toset)) options(op.fmriAR[toset])
  invisible()
}

Try the fmriAR package in your browser

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

fmriAR documentation built on Jan. 26, 2026, 1:07 a.m.