CRAN Package Check Results for Package batchtools

Last updated on 2018-02-21 22:47:50 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.8 10.25 107.51 117.76 OK
r-devel-linux-x86_64-debian-gcc 0.9.8 7.23 81.28 88.51 OK
r-devel-linux-x86_64-fedora-clang 0.9.8 132.44 OK
r-devel-linux-x86_64-fedora-gcc 0.9.8 132.61 OK
r-devel-windows-ix86+x86_64 0.9.8 17.00 168.00 185.00 ERROR
r-patched-linux-x86_64 0.9.8 9.16 109.74 118.90 OK
r-patched-solaris-x86 0.9.8 208.60 OK
r-release-linux-x86_64 0.9.8 9.99 111.00 120.99 OK
r-release-windows-ix86+x86_64 0.9.8 27.00 265.00 292.00 OK
r-release-osx-x86_64 0.9.8 NOTE
r-oldrel-windows-ix86+x86_64 0.9.8 18.00 190.00 208.00 OK
r-oldrel-osx-x86_64 0.9.8 NOTE

Check Details

Version: 0.9.8
Check: running examples for arch ‘i386’
Result: ERROR
    Running examples in 'batchtools-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: addExperiments
    > ### Title: Add Experiments to the Registry
    > ### Aliases: addExperiments
    >
    > ### ** Examples
    >
    > tmp = makeExperimentRegistry(file.dir = NA, make.default = FALSE)
    No configuration file found
    Created registry in 'D:/temp/RtmpmaJzjd/registry61c016c78e9' using cluster functions 'Interactive'
    >
    > # add first problem
    > fun = function(job, data, n, mean, sd, ...) rnorm(n, mean = mean, sd = sd)
    > addProblem("rnorm", fun = fun, reg = tmp)
    Adding problem 'rnorm'
    >
    > # add second problem
    > fun = function(job, data, n, lambda, ...) rexp(n, rate = lambda)
    > addProblem("rexp", fun = fun, reg = tmp)
    Adding problem 'rexp'
    >
    > # add first algorithm
    > fun = function(instance, method, ...) if (method == "mean") mean(instance) else median(instance)
    > addAlgorithm("average", fun = fun, reg = tmp)
    Adding algorithm 'average'
    >
    > # add second algorithm
    > fun = function(instance, ...) sd(instance)
    > addAlgorithm("deviation", fun = fun, reg = tmp)
    Adding algorithm 'deviation'
    >
    > # define problem and algorithm designs
    > prob.designs = algo.designs = list()
    > prob.designs$rnorm = CJ(n = 100, mean = -1:1, sd = 1:5)
    > prob.designs$rexp = data.table(n = 100, lambda = 1:5)
    > algo.designs$average = data.table(method = c("mean", "median"))
    > algo.designs$deviation = data.table()
    >
    > # add experiments and submit
    > addExperiments(prob.designs, algo.designs, reg = tmp)
    Adding 30 experiments ('rnorm'[15] x 'average'[2] x repls[1]) ...
    Error in length(ans$indices) : type must be LANGSXP at this point
    Calls: addExperiments ... merge -> merge.data.table -> [ -> [.data.table -> length
    Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.9.8
Check: running tests for arch ‘i386’
Result: ERROR
     Running 'testthat.R' [37s]
    Running the tests in 'tests/testthat.R' failed.
    Last 13 lines of output:
     == testthat results ===========================================================
     OK: 392 SKIPPED: 13 FAILED: 66
     1. Error: addAlgorithm (@test_Algorithm.R#13)
     2. Error: addAlgorithm overwrites old algo (@test_Algorithm.R#31)
     3. Error: makeTestExperimentRegistry (@test_ExperimentRegistry.R#18)
     4. Error: Experiment (@test_Job.R#33)
     5. Error: makeJobCollection.ExperimentCollection (@test_JobCollection.R#44)
     6. Error: addProblem / removeProblem (@test_Problem.R#28)
     7. Error: instance caching (@test_Problem.R#50)
     8. Error: makeRegistry (@test_Registry.R#17)
     9. Error: loadRegistry (@test_Registry.R#87)
     1. ...
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.9.8
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘doMPI’
Flavors: r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.9.8
Check: Rd cross-references
Result: NOTE
    Package unavailable to check Rd xrefs: ‘Rmpi’
Flavors: r-release-osx-x86_64, r-oldrel-osx-x86_64