This template makes the step run git pull
and renv::restore()
. This
could help ensure that the project is up to date when running the rest of the
workflow.
See slurmworkflow::step_tmpl_bash_lines
for details on step templates
Arguments
- git_branch
The git branch that the project is supposed to follow. If the project is not following the right branch, this step will error.
- setup_lines
(optional) a vector of bash lines to be run first. This can be used to load the required modules (like R, python, etc).
- lockfile
(optional) path to an alternative lockfile to restore