CRAN Package Check Results for Package mlrCPO

Last updated on 2018-04-20 08:49:38 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.2 19.91 297.95 317.86 OK
r-devel-linux-x86_64-debian-gcc 0.3.2 14.91 251.70 266.61 OK
r-devel-linux-x86_64-fedora-clang 0.3.2 416.77 OK
r-devel-linux-x86_64-fedora-gcc 0.3.2 331.52 OK
r-devel-windows-ix86+x86_64 0.3.2 40.00 462.00 502.00 OK
r-devel-osx-x86_64 0.3.2 OK
r-patched-linux-x86_64 0.3.2 19.71 332.73 352.44 OK
r-patched-solaris-x86 0.3.2 438.50 ERROR
r-release-linux-x86_64 0.3.2 20.56 345.60 366.16 OK
r-release-windows-ix86+x86_64 0.3.2 40.00 369.00 409.00 OK
r-release-osx-x86_64 0.3.2 ERROR
r-oldrel-windows-ix86+x86_64 0.3.2 38.00 475.00 513.00 OK

Check Details

Version: 0.3.2
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘FSelector’
Flavor: r-patched-solaris-x86

Version: 0.3.2
Check: tests
Result: ERROR
     Running ‘run-core.R’
     Running ‘run-cpo.R’ [52s/64s]
     Running ‘run-meta.R’ [11s/16s]
     Running ‘run-zzzlint.R’
    Running the tests in ‘tests/run-cpo.R’ failed.
    Complete output:
     > library(testthat)
     > test_check("mlrCPO", filter = "^_cpo_")
     Loading required package: mlrCPO
     Loading required package: ParamHelpers
     Loading required package: mlr
    
     Attaching package: 'BBmisc'
    
     The following object is masked from 'package:base':
    
     isFALSE
    
     ── 1. Error: filterFeatures default test (@test_cpo_filter.R#18) ──────────────
     there is no package called 'FSelector'
     1: multiclass.task %>>% cpoFilterFeatures(method = filter, perc = 0.5) at testthat/test_cpo_filter.R:18
     2: eval.parent(deferAssignmentOperator(substitute(cpo1 %>>% cpo2)))
     3: eval(expr, p)
     4: eval(expr, p)
     5: `internal%>>%`(multiclass.task, cpoFilterFeatures(method = filter, perc = 0.5))
     6: `%>>%.Task`(multiclass.task, cpoFilterFeatures(method = filter, perc = 0.5))
     7: applyCPO(cpo2, cpo1)
     8: applyCPO.CPO(cpo2, cpo1)
     9: callCPO(cpo, task, TRUE, prev.retrafo, TRUE, prev.inverter)
     10: callCPO.CPOPrimitive(cpo, task, TRUE, prev.retrafo, TRUE, prev.inverter)
     ...
     19: do.call(x$fun, c(list(task = task, nselect = nselect), more.args[[x$name]]))
     20: (function (task, nselect, ...)
     {
     y = FSelector::chi.squared(getTaskFormula(task), data = getTaskData(task))
     setNames(y[["attr_importance"]], getTaskFeatureNames(task))
     })(task = structure(list(type = "classif", env = <environment>, weights = NULL, blocking = NULL,
     coordinates = NULL, task.desc = structure(list(id = "multiclass", type = "classif",
     target = "Species", size = 150L, n.feat = c(numerics = 4L, factors = 0L,
     ordered = 0L, functionals = 0L), has.missings = FALSE, has.weights = FALSE,
     has.blocking = FALSE, has.coordinates = FALSE, class.levels = c("setosa",
     "versicolor", "virginica"), positive = NA_character_, negative = NA_character_,
     class.distribution = structure(c(setosa = 50L, versicolor = 50L, virginica = 50L
     ), .Dim = 3L, .Dimnames = structure(list(c("setosa", "versicolor", "virginica"
     )), .Names = ""), class = "table")), class = c("ClassifTaskDesc", "SupervisedTaskDesc",
     "TaskDesc"))), class = c("ClassifTask", "SupervisedTask", "Task")), nselect = 2)
     21: FSelector::chi.squared
     22: getExportedValue(pkg, name)
     23: asNamespace(ns)
     24: getNamespace(ns)
     25: tryCatch(loadNamespace(name), error = function(e) stop(e))
     26: tryCatchList(expr, classes, parentenv, handlers)
     27: tryCatchOne(expr, names, parentenv, handlers[[1L]])
     28: value[[3L]](cond)
    
     ── 2. Error: specialised CPOs work (@test_cpo_filter.R#58) ────────────────────
     For CPO chi.squared please install the following packages: FSelector
     1: cpoconst(perc = 0.5) at testthat/test_cpo_filter.R:58
     2: requireCPOPackages(cpo)
     3: requirePackages(cpo$packages, why = stri_paste("CPO", cpo$name, sep = " "), default.method = "load")
     4: stopf("For %s please install the following packages: %s", why, ps)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 419 SKIPPED: 0 FAILED: 2
     1. Error: filterFeatures default test (@test_cpo_filter.R#18)
     2. Error: specialised CPOs work (@test_cpo_filter.R#58)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.3.2
Check: package dependencies
Result: ERROR
    Package required and available but unsuitable version: ‘mlr’
    
    See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
    manual.
Flavor: r-release-osx-x86_64