Description Usage Arguments Value Step Template
View source: R/step_templates.R
This step template uses a syntax similar to the base::do.call
function to
run a function as a workflow step. You must make sure that all variables
required by the function are passed to it either as one of its arguments or
loaded later by the function itself.
1 | step_tmpl_do_call(what, args, setup_script = NULL)
|
what |
The R function to be run by the workflow step |
args |
a list of arguments to the function call. The |
setup_script |
(optional) a bash script to be run first. This can be used to load the required modules (like R, python, etc). |
a template function to be used by add_workflow_step
Step Templates are helper functions to be used within add_workflow_step
.
Some basic ones are provided by the slurmworkflow
package. They instruct
the workflow to run either a bash script, a set of bash lines given as a
character vector or an R script.
Additional Step Templates can be created to simplify specific tasks, see the
vignette("making-a-custom-step-template")
for details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.