run: Execute a Flow

Description Usage Arguments Value

View source: R/run.R

Description

This function allows to run a pipeline (flow) given some of its inputs.

Usage

1
2
3
4
5
6
7
8
9
run(
  flow,
  inputs = list(),
  desired_outputs = NULL,
  initialize_outputs = TRUE,
  cleanup = TRUE,
  verbose = FALSE,
  ...
)

Arguments

flow

(a workflow) The flow to be executed.

inputs

(list) Inputs to use, Default: list()

desired_outputs

(character array) List of outputs to compute, Default: NULL

initialize_outputs

(logical) initialize outputs?, Default: TRUE

cleanup

(logical) perform cleanup of intermediate results?, Default: TRUE

verbose

(logical) print information of the executions?, Default: FALSE

...

Other arguments passed to subfunctions.

Value

A list with one (named) field for each desired_output.


neuroimaginador/tidyneuro documentation built on Jan. 1, 2021, 11:44 a.m.