Skip to content

Commit 44da41f

Browse files
SGE: -wd; not -d
1 parent dafd107 commit 44da41f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/templates-for-R_CMD_check/batchtools.sge.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
path <- tools::R_user_dir("future.batchtools", "cache")
4949
path <- file.path(path, "R_CMD_check")
5050
if (!utils::file_test("-d", path)) dir.create(path, recursive = TRUE)
51-
job_declarations <- c(job_declarations, sprintf("-d %s", path))
51+
job_declarations <- c(job_declarations, sprintf("-wd %s", path))
5252

5353
## SPECIAL: Since we change working directory, the 'startup.Rs' file used
5454
## by R CMD check is no longer found

0 commit comments

Comments
 (0)