tests/resources_OP.R

source("incl/start.R")

message("*** %resources% ...")

plan(batchtools_local)

## This will test `%resources%` but it'll be ignored (with a warning)
## by batchtools_local()
y %<-% { 42 } %resources% list(memory = 16000) ## 16,000 MiB of memory

message("*** %resources% ... DONE")

source("incl/end.R")

Try the future.batchtools package in your browser

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

future.batchtools documentation built on May 29, 2024, 3:18 a.m.