backend
R/deprecate.R
Use future::plan()
instead.
Avoid drake::plan()
.
backend(...)
... | Arguments to |
---|
The same return value as future::plan()
.
Deprecated on 2017-11-12.
# NOT RUN { test_with_dir("Quarantine side effects.", { load_basic_example() # Get the code with drake_example("basic"). # Choose future's multicore parallel backend. library(future) future::plan(multicore) # Instead of backend(). Avoid drake::plan(). # Run the project, build the targets. # Future knows that you chose the multicore backend. make(my_plan, parallelism = "future_lapply") }) # }