tests/DEPRECATED.resources.R

source("incl/start.R")

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

## Will generate a warning
plan(batchjobs_local)
x %<-% { 42L } %resources% list(a=1)
print(x)
stopifnot(x == 42L)

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

source("incl/end.R")

Try the future.BatchJobs package in your browser

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

future.BatchJobs documentation built on Jan. 5, 2021, 1:07 a.m.