change_next_workflow_step: Alter the next step of a running workflow

Description Usage Arguments Value Examples

View source: R/workflow.R

Description

This function allows a running job to alter the workflow sequence by choosing which step to run after the current one. (See vignette("altering-the-order-of-steps"))

Usage

1
change_next_workflow_step(next_step, sbatch_opts = NULL)

Arguments

next_step

A scalar number coercible to integer instructing the workflow system which step to run next

sbatch_opts

an optional named list of sbatch parameters that would override the ones specified by the nextstep for the next iteration

Value

The next_step value (invisibly)

Examples

1
2
3
4
5
## Not run: 
 # Instruct the workflow to run the step 3 after this one
 change_next_workflow_step(3)

## End(Not run)

AdrienLeGuillou/slurmworkflow documentation built on Jan. 13, 2022, 5:13 p.m.