From e4fb1d133954fa0c901b48233584266df6a303cb Mon Sep 17 00:00:00 2001 From: Matt Smith Date: Mon, 9 Sep 2024 17:26:53 +0000 Subject: [PATCH] changed Sys.which("sbatch") to sbatch... Testing that this is currently causing the error. --- R/submit-model.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/submit-model.R b/R/submit-model.R index 596aad7..ccfdcd0 100644 --- a/R/submit-model.R +++ b/R/submit-model.R @@ -118,7 +118,7 @@ submit_nonmem_model <- brio::write_file(template_script, script_file_path) fs::file_chmod(script_file_path, "0755") } - cmd <- list(cmd = Sys.which("sbatch"), args = script_file_path, template_script = template_script, partition = partition) + cmd <- list(cmd = "sbatch", args = script_file_path, template_script = template_script, partition = partition) if (dry_run) { return(cmd) }