R/parallel_helpers.R

Defines functions .parallel_standby

.parallel_standby <- function(pb) {
  if (!methods::is(future::plan(), "sequential")) {
    pb(amount = 0, message = "Setting parallel backend ...")
  }
}

Try the calmr package in your browser

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

calmr documentation built on May 29, 2024, 8:36 a.m.