leeper / prediction

Tidy, Type-Safe 'prediction()' Methods
https://cran.r-project.org/package=prediction
Other
89 stars 14 forks source link

Builds are failing on CRAN's OSX #25

Closed leeper closed 6 years ago

leeper commented 6 years ago
Version: 0.3.2 
Check: tests 
Result: ERROR 
     Running ‘testthat-prediction.R’ [20s/20s]
    Running the tests in ‘tests/testthat-prediction.R’ failed.
    Last 13 lines of output:
     no applicable method for 'predict' applied to an object of class "c('ksvm', 'vm')"
     1: prediction(m, data = genetrain) at testthat/tests-methods.R:255
     2: prediction.ksvm(m, data = genetrain)
     3: predict(model, newdata = out, type = "response", ...)

     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 164 SKIPPED: 0 FAILED: 5
     1. Error: Test prediction() for 'glimML' (@tests-methods.R#33) 
     2. Error: Test prediction() for 'glimQL' (@tests-methods.R#40) 
     3. Error: Test prediction() for 'gausspr' (@tests-methods.R#236) 
     4. Error: Test prediction() for 'kqr' (@tests-methods.R#244) 
     5. Error: Test prediction() for 'ksvm' (@tests-methods.R#255) 

     Error: testthat unit tests failed
     Execution halted 
Flavor: r-devel-osx-x86_64