CRAN Package Check Results for Package bagRboostR

Last updated on 2020-04-09 09:48:02 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.2 1.90 19.77 21.67 ERROR
r-devel-linux-x86_64-debian-gcc 0.0.2 1.48 15.75 17.23 ERROR
r-devel-linux-x86_64-fedora-clang 0.0.2 27.84 ERROR
r-devel-linux-x86_64-fedora-gcc 0.0.2 26.56 ERROR
r-devel-windows-ix86+x86_64 0.0.2 5.00 47.00 52.00 ERROR
r-devel-windows-ix86+x86_64-gcc8 0.0.2 5.00 35.00 40.00 ERROR
r-patched-linux-x86_64 0.0.2 1.61 19.47 21.08 ERROR
r-patched-osx-x86_64 0.0.2 ERROR
r-patched-solaris-x86 0.0.2 41.90 ERROR
r-release-linux-x86_64 0.0.2 1.41 18.40 19.81 NOTE
r-release-windows-ix86+x86_64 0.0.2 4.00 52.00 56.00 NOTE
r-release-osx-x86_64 0.0.2 ERROR
r-oldrel-windows-ix86+x86_64 0.0.2 4.00 41.00 45.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-devel-windows-ix86+x86_64-gcc8, r-patched-linux-x86_64, r-patched-osx-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' [2s/2s]
    Running the tests in 'tests/test-all.R' failed.
    Complete output:
     > library(testthat)
     > library(bagRboostR)
     >
     > test_package("bagRboostR")
     -- 1. Error: bagging returns a character vector of predicted classes (@test_bagg
     no applicable method for 'droplevels' applied to an object of class "character"
     Backtrace:
     1. bagRboostR::bagging(...) tests/test_bagging.R:6:4
     2. base::droplevels(t[, outcome.label])
    
     -- 2. Error: samme returns a character vector of predicted classes (@test_samme.
     no applicable method for 'droplevels' applied to an object of class "character"
     Backtrace:
     1. bagRboostR::samme(activity ~ ., train, test, 3, ntree = 5, trace = F) tests/test_samme.R:6:2
     2. base::droplevels(t[, outcome.label])
    
     == testthat results ===========================================================
     [ OK: 37 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
     1. Error: bagging returns a character vector of predicted classes (@test_bagging.R#6)
     2. 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-devel-linux-x86_64-debian-clang

Version: 0.0.2
Check: tests
Result: ERROR
     Running ‘test-all.R’ [1s/2s]
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > library(testthat)
     > library(bagRboostR)
     >
     > test_package("bagRboostR")
     ── 1. Error: bagging returns a character vector of predicted classes (@test_bagg
     no applicable method for 'droplevels' applied to an object of class "character"
     Backtrace:
     1. bagRboostR::bagging(...) tests/test_bagging.R:6:4
     2. base::droplevels(t[, outcome.label])
    
     ── 2. Error: samme returns a character vector of predicted classes (@test_samme.
     no applicable method for 'droplevels' applied to an object of class "character"
     Backtrace:
     1. bagRboostR::samme(activity ~ ., train, test, 3, ntree = 5, trace = F) tests/test_samme.R:6:2
     2. base::droplevels(t[, outcome.label])
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 37 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
     1. Error: bagging returns a character vector of predicted classes (@test_bagging.R#6)
     2. 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-devel-linux-x86_64-debian-gcc

Version: 0.0.2
Check: tests
Result: ERROR
     Running ‘test-all.R’
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > library(testthat)
     > library(bagRboostR)
     >
     > test_package("bagRboostR")
     ── 1. Error: bagging returns a character vector of predicted classes (@test_bagg
     no applicable method for 'droplevels' applied to an object of class "character"
     Backtrace:
     1. bagRboostR::bagging(...) tests/test_bagging.R:6:4
     2. base::droplevels(t[, outcome.label])
    
     ── 2. Error: samme returns a character vector of predicted classes (@test_samme.
     no applicable method for 'droplevels' applied to an object of class "character"
     Backtrace:
     1. bagRboostR::samme(activity ~ ., train, test, 3, ntree = 5, trace = F) tests/test_samme.R:6:2
     2. base::droplevels(t[, outcome.label])
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 37 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
     1. Error: bagging returns a character vector of predicted classes (@test_bagging.R#6)
     2. 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
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86

Version: 0.0.2
Check: tests
Result: ERROR
     Running 'test-all.R' [3s]
    Running the tests in 'tests/test-all.R' failed.
    Complete output:
     > library(testthat)
     > library(bagRboostR)
     >
     > test_package("bagRboostR")
     -- 1. Error: bagging returns a character vector of predicted classes (@test_bagg
     no applicable method for 'droplevels' applied to an object of class "character"
     Backtrace:
     1. bagRboostR::bagging(...) tests/test_bagging.R:6:4
     2. base::droplevels(t[, outcome.label])
    
     -- 2. Error: samme returns a character vector of predicted classes (@test_samme.
     no applicable method for 'droplevels' applied to an object of class "character"
     Backtrace:
     1. bagRboostR::samme(activity ~ ., train, test, 3, ntree = 5, trace = F) tests/test_samme.R:6:2
     2. base::droplevels(t[, outcome.label])
    
     == testthat results ===========================================================
     [ OK: 37 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
     1. Error: bagging returns a character vector of predicted classes (@test_bagging.R#6)
     2. 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-devel-windows-ix86+x86_64

Version: 0.0.2
Check: tests
Result: ERROR
     Running 'test-all.R' [2s]
    Running the tests in 'tests/test-all.R' failed.
    Complete output:
     > library(testthat)
     > library(bagRboostR)
     >
     > test_package("bagRboostR")
     -- 1. Error: bagging returns a character vector of predicted classes (@test_bagg
     no applicable method for 'droplevels' applied to an object of class "character"
     Backtrace:
     1. bagRboostR::bagging(...) tests/test_bagging.R:6:4
     2. base::droplevels(t[, outcome.label])
    
     -- 2. Error: samme returns a character vector of predicted classes (@test_samme.
     no applicable method for 'droplevels' applied to an object of class "character"
     Backtrace:
     1. bagRboostR::samme(activity ~ ., train, test, 3, ntree = 5, trace = F) tests/test_samme.R:6:2
     2. base::droplevels(t[, outcome.label])
    
     == testthat results ===========================================================
     [ OK: 37 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
     1. Error: bagging returns a character vector of predicted classes (@test_bagging.R#6)
     2. 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-devel-windows-ix86+x86_64-gcc8

Version: 0.0.2
Check: tests
Result: ERROR
     Running ‘test-all.R’ [2s/2s]
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > library(testthat)
     > library(bagRboostR)
     >
     > test_package("bagRboostR")
     ── 1. Error: bagging returns a character vector of predicted classes (@test_bagg
     no applicable method for 'droplevels' applied to an object of class "character"
     Backtrace:
     1. bagRboostR::bagging(...) tests/test_bagging.R:6:4
     2. base::droplevels(t[, outcome.label])
    
     ── 2. Error: samme returns a character vector of predicted classes (@test_samme.
     no applicable method for 'droplevels' applied to an object of class "character"
     Backtrace:
     1. bagRboostR::samme(activity ~ ., train, test, 3, ntree = 5, trace = F) tests/test_samme.R:6:2
     2. base::droplevels(t[, outcome.label])
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 37 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
     1. Error: bagging returns a character vector of predicted classes (@test_bagging.R#6)
     2. 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-patched-linux-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.
    Last 13 lines of output:
     ── 2. Error: samme returns a character vector of predicted classes (@test_samme.
     no applicable method for 'droplevels' applied to an object of class "character"
     Backtrace:
     1. bagRboostR::samme(activity ~ ., train, test, 3, ntree = 5, trace = F) tests/test_samme.R:6:2
     2. base::droplevels(t[, outcome.label])
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 37 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
     1. Error: bagging returns a character vector of predicted classes (@test_bagging.R#6)
     2. 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-patched-osx-x86_64

Version: 0.0.2
Check: tests
Result: ERROR
     Running ‘test-all.R’ [1s/2s]
    Running the tests in ‘tests/test-all.R’ failed.
    Last 13 lines of output:
     Need at least two classes to do classification.
     1: samme(activity ~ ., train, test, 3, ntree = 5, trace = F) at /Volumes/SSD-Data/Builds/R-dev-web/QA/Simon/packages/el-capitan-x86_64/results/3.6/bagRboostR.Rcheck/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-osx-x86_64