Skip to content

Commit

Permalink
update restore step to avoid breaking renv
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienLeGuillou committed Oct 16, 2024
1 parent 7ac3d5f commit 3c12666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/slurmworkflow_helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ step_tmpl_renv_restore <- function(git_branch, setup_lines = NULL) {
"exit 1",
"fi",
"git pull",
"Rscript -e \"renv::init(bare = TRUE)\"",
"Rscript -e \"renv::init(bare = TRUE, load = FALSE)\"",
"Rscript -e \"renv::restore()\""
)
instructions <- slurmworkflow::helper_use_setup_lines(instructions, setup_lines)
Expand Down

0 comments on commit 3c12666

Please sign in to comment.