Last updated on 2025-12-28 01:49:16 CET.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| backports | 13 | ||
| base64url | 13 | ||
| BatchExperiments | 13 | ||
| batchtools | 1 | 2 | 10 |
| checkmate | 5 | 8 | |
| fail | 2 | 11 |
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, NOTE: 2, OK: 10
Version: 0.9.18
Check: examples
Result: ERROR
Running examples in 'batchtools-Ex.R' failed
The error most likely occurred in:
> ### Name: chunk
> ### Title: Chunk Jobs for Sequential Execution
> ### Aliases: chunk lpt binpack
>
> ### ** Examples
>
> ## Don't show:
> batchtools:::example_push_temp(2)
> ## End(Don't show)
> ch = chunk(1:10, n.chunks = 2)
> table(ch)
ch
1 2
5 5
>
> ch = chunk(rep(1, 10), chunk.size = 2)
> table(ch)
ch
1 2 3 4 5
2 2 2 2 2
>
> set.seed(1)
> x = runif(10)
> ch = lpt(x, n.chunks = 2)
> sapply(split(x, ch), sum)
1 2
2.808393 2.706746
>
> set.seed(1)
> x = runif(10)
> ch = binpack(x, 1)
> sapply(split(x, ch), sum)
1 2 3 4 5 6
0.9446753 0.9699941 0.8983897 0.9263065 0.8307960 0.9449773
>
> # Job chunking
> tmp = makeRegistry(file.dir = NA, make.default = FALSE)
No readable configuration file found
Created registry in 'D:/temp/2025_12_24_01_50_00_27005/RtmpsJVAGJ/registry163181843cf2' using cluster functions 'Interactive'
> ids = batchMap(identity, 1:25, reg = tmp)
Adding 25 jobs ...
>
> ### Group into chunks with 10 jobs each
> library(data.table)
Attaching package: 'data.table'
The following object is masked from 'package:base':
%notin%
> ids[, chunk := chunk(job.id, chunk.size = 10)]
> print(ids[, .N, by = chunk])
chunk N
<int> <int>
1: 3 8
2: 1 9
3: 2 8
>
> ### Group into 4 chunks
> ids[, chunk := chunk(job.id, n.chunks = 4)]
> print(ids[, .N, by = chunk])
chunk N
<int> <int>
1: 2 6
2: 3 6
3: 4 6
4: 1 7
>
> ### Submit to batch system
> submitJobs(ids = ids, reg = tmp)
Submitting 25 jobs in 4 chunks using cluster functions 'Interactive' ...
>
> # Grouped chunking
> tmp = makeExperimentRegistry(file.dir = NA, make.default = FALSE)
No readable configuration file found
Created registry in 'D:/temp/2025_12_24_01_50_00_27005/RtmpsJVAGJ/registry163185bf77e1e' using cluster functions 'Interactive'
> prob = addProblem(reg = tmp, "prob1", data = iris, fun = function(job, data) nrow(data))
Adding problem 'prob1'
> prob = addProblem(reg = tmp, "prob2", data = Titanic, fun = function(job, data) nrow(data))
Adding problem 'prob2'
> algo = addAlgorithm(reg = tmp, "algo", fun = function(job, data, instance, i, ...) problem)
Adding algorithm 'algo'
> prob.designs = list(prob1 = data.table(), prob2 = data.table(x = 1:2))
> algo.designs = list(algo = data.table(i = 1:3))
> addExperiments(prob.designs, algo.designs, repls = 3, reg = tmp)
Adding 9 experiments ('prob1'[1] x 'algo'[3] x repls[3]) ...
Adding 18 experiments ('prob2'[2] x 'algo'[3] x repls[3]) ...
>
> ### Group into chunks of 5 jobs, but do not put multiple problems into the same chunk
> # -> only one problem has to be loaded per chunk, and only once because it is cached
> ids = getJobTable(reg = tmp)[, .(job.id, problem, algorithm)]
> ids[, chunk := chunk(job.id, chunk.size = 5), by = "problem"]
Error in `[.data.table`(ids, , `:=`(chunk, chunk(job.id, chunk.size = 5)), :
attempt access index 3/3 in VECTOR_ELT
Calls: [ -> [.data.table
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.9.18
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: ‘doMPI’
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Version: 0.9.18
Check: Rd cross-references
Result: NOTE
Package unavailable to check Rd xrefs: ‘Rmpi’
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Current CRAN status: NOTE: 5, OK: 8
Version: 2.3.3
Check: compiled code
Result: NOTE
File ‘checkmate/libs/checkmate.so’:
Found non-API call to R: ‘ATTRIB’
Compiled code should not call non-API entry points in R.
See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 2.3.3
Check: compiled code
Result: NOTE
File 'checkmate/libs/x64/checkmate.dll':
Found non-API call to R: 'ATTRIB'
Compiled code should not call non-API entry points in R.
See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
Flavor: r-devel-windows-x86_64
Current CRAN status: NOTE: 2, OK: 11
Version: 1.3
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Michel Lang <michellang@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Michel",
family = "Lang",
role = c("aut", "cre"),
email = "michellang@gmail.com")
as necessary.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.