Package: pmml 2.5.2
Check: tests, Result: ERROR
    Running ‘testthat.R’
  Running the tests in ‘tests/testthat.R’ failed.
  Last 13 lines of output:
    Error in `prescreen.objective(objective)`: Objectives with non-default prediction mode (reg:logistic, binary:logitraw, multi:softmax) are not supported in 'xgboost()'. Try 'xgb.train()'.
    Backtrace:
        ▆
     1. └─xgboost::xgboost(...) at test_pmml.xgb.Booster.R:70:3
     2.   └─xgboost:::prescreen.objective(objective)
    ── Error ('test_pmml.xgb.Booster.R:97:3'): error is thrown when objective = binary:logitraw ──
    Error in `prescreen.objective(objective)`: Objectives with non-default prediction mode (reg:logistic, binary:logitraw, multi:softmax) are not supported in 'xgboost()'. Try 'xgb.train()'.
    Backtrace:
        ▆
     1. └─xgboost::xgboost(...) at test_pmml.xgb.Booster.R:97:3
     2.   └─xgboost:::prescreen.objective(objective)
    
    [ FAIL 6 | WARN 27 | SKIP 74 | PASS 265 ]
    Error: Test failures
    Execution halted
