Skip to content

Commit 3c12666

Browse files
update restore step to avoid breaking renv
1 parent 7ac3d5f commit 3c12666

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/slurmworkflow_helpers.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ step_tmpl_renv_restore <- function(git_branch, setup_lines = NULL) {
140140
"exit 1",
141141
"fi",
142142
"git pull",
143-
"Rscript -e \"renv::init(bare = TRUE)\"",
143+
"Rscript -e \"renv::init(bare = TRUE, load = FALSE)\"",
144144
"Rscript -e \"renv::restore()\""
145145
)
146146
instructions <- slurmworkflow::helper_use_setup_lines(instructions, setup_lines)

0 commit comments

Comments
 (0)