Skip to content

Commit

Permalink
update rscript tmpl doc
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienLeGuillou committed Apr 5, 2023
1 parent 8431c81 commit 77639b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions R/step_templates.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ step_tmpl_bash_script <- function(bash_script) {

#' Step Template to Run an R Script
#'
#' Contrary to `step_tmpl_do_call_script`, this function copies the content of
#' the script to the workflow folder. Therefore, the script do not have to exist
#' on the HPC when using this template.
#'
#' @param r_script The R script to be run by the workflow step
#' @param 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).
Expand Down
4 changes: 3 additions & 1 deletion man/step_tmpl_rscript.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 77639b5

Please sign in to comment.