diff --git a/.github/workflows/ci-cd-renv.yml b/.github/workflows/ci-cd-renv.yml index d7c21ce..855ace2 100644 --- a/.github/workflows/ci-cd-renv.yml +++ b/.github/workflows/ci-cd-renv.yml @@ -64,7 +64,7 @@ jobs: install.packages(c("processx", "jsonlite")) (sysreqs_cmds <- pak::pkg_sysreqs(names(jsonlite::read_json("renv.lock")$Packages), dependencies = FALSE)) lapply(unlist(sysreqs_cmds[c("pre_install", "install_scripts", "post_install")]), function(cmd) { - processx::run("sudo", paste(c("sh", "-c", cmd), collapse = " ")) + processx::run("sudo", c("sh", "-c", cmd)) }) shell: Rscript {0}