Append one stageRunnerNode around another.
stageRunnerNode_overlay(other_node, label = NULL, flat = FALSE)
other_node | stagerunner or stageRunnerNode. |
---|---|
label | character. Under the hood, this will be the "stage name"
for the stage represented by the |
flat | logical. If |
TRUE
or FALSE
according as the wrapping was
successful.
not_run({ node1 <- stageRunnerNode(function(e) print(1)) node2 <- stageRunnerNode(function(e) print(2)) node1$overlay(node2) node1$run() # Will print 1 2 })