Loads a complete workflow environment by reading a tree structure (e.g., an Analysis Tree)
and initializing step environments for all contained steps.
Usage
getWorkflow(ident, from = pwd(), includeSelf = F)
Arguments
- ident
Identifier of the tree or container resource.
- from
Root path for resolving relative paths. Defaults to pwd().
- includeSelf
Logical. If TRUE, includes the step identified by pwd()
if it falls within the loaded tree. Defaults to FALSE to prevent
self-referential issues during execution.
Value
A workflow environment containing all loaded steps. See createWorkflow
for details on the workflow environment structure and available methods.
Examples
if (FALSE) { # \dontrun{
# Load workflow from an analysis tree
wf <- getWorkflow("/Projects/Analysis/Tree1")
# List all steps in the loaded workflow
wf$df()
} # }