CRAN Package Check Results for Maintainer ‘Shangzhi Hong <shangzhi-hong at hotmail.com>’

Last updated on 2020-08-07 01:50:33 CEST.

Package ERROR OK
RfEmpImp 2 10

Package RfEmpImp

Current CRAN status: ERROR: 2, OK: 10

Version: 2.1.5
Check: tests
Result: ERROR
     Running ‘testthat.R’ [7s/7s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     >
     > test_check("RfEmpImp")
     ── 1. Failure: conv.factor works (@test-UtilFuncs-ConvFactor.R#31) ────────────
     all(factorLoc2 == c(TRUE, FALSE, FALSE)) isn't true.
    
     ── 2. Failure: conv.factor works (@test-UtilFuncs-ConvFactor.R#35) ────────────
     all(factorLoc3 == c(TRUE, FALSE, TRUE)) isn't true.
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 640 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
     1. Failure: conv.factor works (@test-UtilFuncs-ConvFactor.R#31)
     2. Failure: conv.factor works (@test-UtilFuncs-ConvFactor.R#35)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 2.1.5
Check: tests
Result: ERROR
     Running 'testthat.R' [9s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(RfEmpImp)
     Loading required package: mice
    
     Attaching package: 'mice'
    
     The following objects are masked from 'package:base':
    
     cbind, rbind
    
     Loading required package: ranger
     >
     > test_check("RfEmpImp")
     -- 1. Failure: conv.factor works (@test-UtilFuncs-ConvFactor.R#31) ------------
     all(factorLoc2 == c(TRUE, FALSE, FALSE)) isn't true.
    
     -- 2. Failure: conv.factor works (@test-UtilFuncs-ConvFactor.R#35) ------------
     all(factorLoc3 == c(TRUE, FALSE, TRUE)) isn't true.
    
     == testthat results ===========================================================
     [ OK: 640 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
     1. Failure: conv.factor works (@test-UtilFuncs-ConvFactor.R#31)
     2. Failure: conv.factor works (@test-UtilFuncs-ConvFactor.R#35)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64