leeper / prediction

Tidy, Type-Safe 'prediction()' Methods

Home Page:https://cran.r-project.org/package=prediction

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Builds are failing on CRAN's OSX

leeper opened this issue · comments

Version: 0.3.2 
Check: tests 
Result: ERROR 
     Runningtestthat-prediction.R’ [20s/20s]
    Running the tests intests/testthat-prediction.Rfailed.
    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