Use future::plan() instead. Avoid drake::plan().

backend(...)

Arguments

...

Arguments to future::plan().

Value

The same return value as future::plan().

Details

Deprecated on 2017-11-12.

Examples

# 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")
})
# }