CRAN Package Check Results for Package bagRboostR

Last updated on 2018-06-20 07:47:29 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.2 0.95 17.59 18.54 NOTE
r-devel-linux-x86_64-debian-gcc 0.0.2 0.70 13.94 14.64 NOTE
r-devel-linux-x86_64-fedora-clang 0.0.2 17.73 NOTE
r-devel-linux-x86_64-fedora-gcc 0.0.2 16.98 NOTE
r-devel-windows-ix86+x86_64 0.0.2 3.00 25.00 28.00 NOTE
r-patched-linux-x86_64 0.0.2 0.97 16.08 17.05 NOTE
r-patched-solaris-x86 0.0.2 33.00 NOTE
r-release-linux-x86_64 0.0.2 0.96 16.08 17.04 ERROR
r-release-windows-ix86+x86_64 0.0.2 2.00 37.00 39.00 NOTE
r-release-osx-x86_64 0.0.2 NOTE
r-oldrel-windows-ix86+x86_64 0.0.2 3.00 26.00 29.00 NOTE
r-oldrel-osx-x86_64 0.0.2 NOTE

Check Details

Version: 0.0.2
Check: R code for possible problems
Result: NOTE
    bagging: no visible global function definition for ‘predict’
    samme: no visible global function definition for ‘predict’
    Undefined global functions or variables:
     predict
    Consider adding
     importFrom("stats", "predict")
    to your NAMESPACE file.
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, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 0.0.2
Check: tests
Result: ERROR
     Running ‘test-all.R’ [1s/1s]
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > library(testthat)
     > library(bagRboostR)
     >
     > test_package("bagRboostR")
     ── 1. Error: samme returns a character vector of predicted classes (@test_samme.
     Need at least two classes to do classification.
     1: samme(activity ~ ., train, test, 3, ntree = 5, trace = F) at /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/bagRboostR/tests/test_samme.R:6
     2: randomForest(formula, data = t, do.trace = trace, ntree = ntree, mtry = mtry)
     3: randomForest.formula(formula, data = t, do.trace = trace, ntree = ntree, mtry = mtry)
     4: randomForest.default(m, y, ...)
     5: stop("Need at least two classes to do classification.")
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 39 SKIPPED: 0 FAILED: 1
     1. Error: samme returns a character vector of predicted classes (@test_samme.R#6)
    
     Error: testthat unit tests failed
     In addition: Warning message:
     Placing tests in `inst/tests` is deprecated. Please use `tests/testthat` instead
     Execution halted
Flavor: r-release-linux-x86_64