Skip to content

Commit f5a91d5

Browse files
committed
fix doc for chunks.as.arrayjobs
1 parent 478a6d0 commit f5a91d5

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

R/submitJobs.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#' \item{pp.size:}{Maximum size of the pointer protection stack, see \code{\link[base]{Memory}}.}
2020
#' \item{blas.threads:}{Number of threads to use for the BLAS backend. Used to set environment variables \dQuote{MKL_NUM_THREADS} and \dQuote{OPENBLAS_NUM_THREADS}. Can be passed as additional column as part of \code{ids} to set per-job resources.}
2121
#' \item{measure.memory:}{Enable memory measurement for jobs. Comes with a small runtime overhead.}
22-
#' \item{chunks.as.array.jobs:}{Execute chunks as array jobs.}
22+
#' \item{chunks.as.arrayjobs:}{Execute chunks as array jobs.}
2323
#' \item{pm.backend:}{Start a \pkg{parallelMap} backend on the slave.}
2424
#' \item{foreach.backend:}{Start a \pkg{foreach} backend on the slave.}
2525
#' \item{clusters:}{Resource used for Slurm to select the set of clusters to run \code{sbatch}/\code{squeue}/\code{scancel} on.}

man/submitJobs.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/testthat/test_submitJobs.R

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,3 @@ test_that("per job resources", {
4545
ids$chunk = 1L
4646
expect_error(submitJobs(ids, reg = reg), "per-job")
4747
})
48-
49-
test_that("chunks.as.arrayjobs is passed down", {
50-
reg = makeTestRegistry()
51-
fun = function(...) list(...)
52-
ids = batchMap(fun, i = 1:3, reg = reg)
53-
ids$chunk = 1L
54-
submitJobs(ids, resources = resources, reg = reg)
55-
56-
57-
})

0 commit comments

Comments
 (0)