RunProject() runs multiple workflow phase folders in sequence, sharing one
lData object across phases. Each subdirectory of strPath is treated as a
phase. Phases are executed in sorted order (or in the order specified by
strPhases). Within each phase, workflows are loaded via
MakeWorkflowList() and run via RunWorkflows().
Usage
RunProject(
strPath,
lData = NULL,
lConfig = NULL,
strPhases = NULL,
bRecursive = FALSE,
bReturnResult = TRUE,
bKeepInputData = FALSE,
strResultNames = c("Type", "ID")
)Arguments
- strPath
characterPath to the project directory. Must contain one or more subdirectories, each holding workflow YAML files.- lData
listInitial named list of data objects. DefaultNULL.- lConfig
listConfiguration hooks passed toRunWorkflows(). DefaultNULL.- strPhases
characterOptional vector of phase folder names to run. IfNULL(the default), all sorted subdirectories ofstrPathare used.- bRecursive
logicalPassed toMakeWorkflowList(). DefaultFALSE.- bReturnResult
logicalPassed toRunWorkflows(). DefaultTRUE.- bKeepInputData
logicalPassed toRunWorkflows(). DefaultFALSE.- strResultNames
characterVector of length two passed toRunWorkflows(). Defaultc("Type", "ID").
Value
A named list with one element per phase. Each element contains the
result returned by RunWorkflows() for that phase.