Skip to content

Commit 77639b5

Browse files
update rscript tmpl doc
1 parent 8431c81 commit 77639b5

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

R/step_templates.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ step_tmpl_bash_script <- function(bash_script) {
5555

5656
#' Step Template to Run an R Script
5757
#'
58+
#' Contrary to `step_tmpl_do_call_script`, this function copies the content of
59+
#' the script to the workflow folder. Therefore, the script do not have to exist
60+
#' on the HPC when using this template.
61+
#'
5862
#' @param r_script The R script to be run by the workflow step
5963
#' @param setup_lines (optional) a vector of bash lines to be run first.
6064
#' This can be used to load the required modules (like R, python, etc).

man/step_tmpl_rscript.Rd

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)