CRAN Package Check Results for Package pmml

Last updated on 2025-12-11 07:49:47 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.5.2 13.47 145.56 159.03 ERROR
r-devel-linux-x86_64-debian-gcc 2.5.2 8.80 96.36 105.16 ERROR
r-devel-linux-x86_64-fedora-clang 2.5.2 101.00 180.30 281.30 ERROR
r-devel-linux-x86_64-fedora-gcc 2.5.2 74.00 205.44 279.44 ERROR
r-devel-windows-x86_64 2.5.2 15.00 145.00 160.00 ERROR
r-patched-linux-x86_64 2.5.2 12.94 135.88 148.82 ERROR
r-release-linux-x86_64 2.5.2 12.51 134.84 147.35 ERROR
r-release-macos-arm64 2.5.2 OK
r-release-macos-x86_64 2.5.2 11.00 170.00 181.00 OK
r-release-windows-x86_64 2.5.2 14.00 142.00 156.00 OK
r-oldrel-macos-arm64 2.5.2 OK
r-oldrel-macos-x86_64 2.5.2 9.00 97.00 106.00 OK
r-oldrel-windows-x86_64 2.5.2 20.00 187.00 207.00 ERROR

Check Details

Version: 2.5.2
Check: tests
Result: ERROR Running ‘testthat.R’ [54s/68s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(pmml, quietly = T) > > test_check("pmml") Saving _problems/test_pmml.xgb.Booster-59.R Saving _problems/test_pmml.xgb.Booster-74.R Saving _problems/test_pmml.xgb.Booster-102.R [ FAIL 6 | WARN 26 | SKIP 51 | PASS 356 ] ══ Skipped tests (51) ══════════════════════════════════════════════════════════ • On CRAN (48): 'test_pmml.iForest.R:6:3', 'test_pmml_integration_ARIMA.R:109:3', 'test_pmml_integration_ARIMA.R:184:3', 'test_pmml_integration_ARIMA.R:269:3', 'test_pmml_integration_e1071_svm.R:27:3', 'test_pmml_integration_e1071_svm.R:275:3', 'test_pmml_integration_lm.R:13:3', 'test_pmml_integration_lm.R:123:3', 'test_pmml_integration_lm.R:175:3', 'test_pmml_integration_other.R:120:3', 'test_pmml_integration_other.R:167:3', 'test_pmml_integration_other.R:265:3', 'test_pmml_integration_other.R:439:3', 'test_pmml_integration_other.R:607:3', 'test_pmml_integration_other.R:692:3', 'test_pmml_integration_other.R:849:3', 'test_pmml_integration_other.R:1062:3', 'test_pmml_integration_other.R:1322:3', 'test_pmml_integration_other.R:1442:3', 'test_pmml_integration_other.R:1547:3', 'test_pmml_integration_other.R:1633:3', 'test_pmml_integration_other.R:1822:3', 'test_pmml_integration_transformations.R:19:3', 'test_pmml_integration_transformations.R:319:3', 'test_pmml_integration_transformations.R:354:3', 'test_pmml_integration_transformations.R:377:3', 'test_pmml_integration_transformations.R:407:3', 'test_pmml_integration_transformations.R:469:3', 'test_pmml_integration_xgboost.R:21:3', 'test_schema_validation.R:135:3', 'test_schema_validation.R:183:3', 'test_schema_validation.R:204:3', 'test_schema_validation.R:248:3', 'test_schema_validation.R:343:3', 'test_schema_validation.R:426:3', 'test_schema_validation.R:458:3', 'test_schema_validation.R:500:3', 'test_schema_validation.R:603:3', 'test_schema_validation.R:795:3', 'test_schema_validation.R:933:3', 'test_schema_validation.R:1008:3', 'test_schema_validation.R:1045:3', 'test_schema_validation.R:1077:3', 'test_schema_validation.R:1146:3', 'test_schema_validation.R:1193:3', 'test_schema_validation.R:1429:3', 'test_schema_validation.R:1510:3', 'test_schema_validation.R:1540:3' • skip (2): 'test_pmml_integration_lm.R:147:3', 'test_pmml_integration_transformations.R:439:3' • skip until export issue is resolved (1): 'test_pmml.nnet.R:66:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_pmml.miningschema.R:29:3'): invalidValueTreatment attribute is exported correctly for xgboost models ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.miningschema.R:29:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Error ('test_pmml.miningschema.R:286:3'): error is thrown if invalidValueTreatment argument is incorrect ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.miningschema.R:286:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Error ('test_pmml.xgb.Booster.R:18:3'): discrete variables are one-hot-encoded ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.xgb.Booster.R:18:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Failure ('test_pmml.xgb.Booster.R:52:3'): error is thrown when objective = reg:linear ── `pmml(...)` threw an error with unexpected message. Expected match: "Only the following objectives are supported: multi:softprob, multi:softmax, binary:logistic." Actual message: "argument is of length zero" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_pmml.xgb.Booster.R:52:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─pmml::pmml(...) 7. └─pmml::pmml.xgb.Booster(...) ── Error ('test_pmml.xgb.Booster.R:70:3'): error is thrown when objective = reg:logistic ── 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 26 | SKIP 51 | PASS 356 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 2.5.2
Check: tests
Result: ERROR Running ‘testthat.R’ [34s/40s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(pmml, quietly = T) > > test_check("pmml") Saving _problems/test_pmml.xgb.Booster-59.R Saving _problems/test_pmml.xgb.Booster-74.R Saving _problems/test_pmml.xgb.Booster-102.R [ FAIL 6 | WARN 26 | SKIP 51 | PASS 356 ] ══ Skipped tests (51) ══════════════════════════════════════════════════════════ • On CRAN (48): 'test_pmml.iForest.R:6:3', 'test_pmml_integration_ARIMA.R:109:3', 'test_pmml_integration_ARIMA.R:184:3', 'test_pmml_integration_ARIMA.R:269:3', 'test_pmml_integration_e1071_svm.R:27:3', 'test_pmml_integration_e1071_svm.R:275:3', 'test_pmml_integration_lm.R:13:3', 'test_pmml_integration_lm.R:123:3', 'test_pmml_integration_lm.R:175:3', 'test_pmml_integration_other.R:120:3', 'test_pmml_integration_other.R:167:3', 'test_pmml_integration_other.R:265:3', 'test_pmml_integration_other.R:439:3', 'test_pmml_integration_other.R:607:3', 'test_pmml_integration_other.R:692:3', 'test_pmml_integration_other.R:849:3', 'test_pmml_integration_other.R:1062:3', 'test_pmml_integration_other.R:1322:3', 'test_pmml_integration_other.R:1442:3', 'test_pmml_integration_other.R:1547:3', 'test_pmml_integration_other.R:1633:3', 'test_pmml_integration_other.R:1822:3', 'test_pmml_integration_transformations.R:19:3', 'test_pmml_integration_transformations.R:319:3', 'test_pmml_integration_transformations.R:354:3', 'test_pmml_integration_transformations.R:377:3', 'test_pmml_integration_transformations.R:407:3', 'test_pmml_integration_transformations.R:469:3', 'test_pmml_integration_xgboost.R:21:3', 'test_schema_validation.R:135:3', 'test_schema_validation.R:183:3', 'test_schema_validation.R:204:3', 'test_schema_validation.R:248:3', 'test_schema_validation.R:343:3', 'test_schema_validation.R:426:3', 'test_schema_validation.R:458:3', 'test_schema_validation.R:500:3', 'test_schema_validation.R:603:3', 'test_schema_validation.R:795:3', 'test_schema_validation.R:933:3', 'test_schema_validation.R:1008:3', 'test_schema_validation.R:1045:3', 'test_schema_validation.R:1077:3', 'test_schema_validation.R:1146:3', 'test_schema_validation.R:1193:3', 'test_schema_validation.R:1429:3', 'test_schema_validation.R:1510:3', 'test_schema_validation.R:1540:3' • skip (2): 'test_pmml_integration_lm.R:147:3', 'test_pmml_integration_transformations.R:439:3' • skip until export issue is resolved (1): 'test_pmml.nnet.R:66:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_pmml.miningschema.R:29:3'): invalidValueTreatment attribute is exported correctly for xgboost models ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.miningschema.R:29:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Error ('test_pmml.miningschema.R:286:3'): error is thrown if invalidValueTreatment argument is incorrect ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.miningschema.R:286:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Error ('test_pmml.xgb.Booster.R:18:3'): discrete variables are one-hot-encoded ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.xgb.Booster.R:18:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Failure ('test_pmml.xgb.Booster.R:52:3'): error is thrown when objective = reg:linear ── `pmml(...)` threw an error with unexpected message. Expected match: "Only the following objectives are supported: multi:softprob, multi:softmax, binary:logistic." Actual message: "argument is of length zero" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_pmml.xgb.Booster.R:52:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─pmml::pmml(...) 7. └─pmml::pmml.xgb.Booster(...) ── Error ('test_pmml.xgb.Booster.R:70:3'): error is thrown when objective = reg:logistic ── 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 26 | SKIP 51 | PASS 356 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.5.2
Check: tests
Result: ERROR Running ‘testthat.R’ [101s/397s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(pmml, quietly = T) > > test_check("pmml") Saving _problems/test_pmml.xgb.Booster-59.R Saving _problems/test_pmml.xgb.Booster-74.R Saving _problems/test_pmml.xgb.Booster-102.R [ FAIL 6 | WARN 26 | SKIP 51 | PASS 356 ] ══ Skipped tests (51) ══════════════════════════════════════════════════════════ • On CRAN (48): 'test_pmml.iForest.R:6:3', 'test_pmml_integration_ARIMA.R:109:3', 'test_pmml_integration_ARIMA.R:184:3', 'test_pmml_integration_ARIMA.R:269:3', 'test_pmml_integration_e1071_svm.R:27:3', 'test_pmml_integration_e1071_svm.R:275:3', 'test_pmml_integration_lm.R:13:3', 'test_pmml_integration_lm.R:123:3', 'test_pmml_integration_lm.R:175:3', 'test_pmml_integration_other.R:120:3', 'test_pmml_integration_other.R:167:3', 'test_pmml_integration_other.R:265:3', 'test_pmml_integration_other.R:439:3', 'test_pmml_integration_other.R:607:3', 'test_pmml_integration_other.R:692:3', 'test_pmml_integration_other.R:849:3', 'test_pmml_integration_other.R:1062:3', 'test_pmml_integration_other.R:1322:3', 'test_pmml_integration_other.R:1442:3', 'test_pmml_integration_other.R:1547:3', 'test_pmml_integration_other.R:1633:3', 'test_pmml_integration_other.R:1822:3', 'test_pmml_integration_transformations.R:19:3', 'test_pmml_integration_transformations.R:319:3', 'test_pmml_integration_transformations.R:354:3', 'test_pmml_integration_transformations.R:377:3', 'test_pmml_integration_transformations.R:407:3', 'test_pmml_integration_transformations.R:469:3', 'test_pmml_integration_xgboost.R:21:3', 'test_schema_validation.R:135:3', 'test_schema_validation.R:183:3', 'test_schema_validation.R:204:3', 'test_schema_validation.R:248:3', 'test_schema_validation.R:343:3', 'test_schema_validation.R:426:3', 'test_schema_validation.R:458:3', 'test_schema_validation.R:500:3', 'test_schema_validation.R:603:3', 'test_schema_validation.R:795:3', 'test_schema_validation.R:933:3', 'test_schema_validation.R:1008:3', 'test_schema_validation.R:1045:3', 'test_schema_validation.R:1077:3', 'test_schema_validation.R:1146:3', 'test_schema_validation.R:1193:3', 'test_schema_validation.R:1429:3', 'test_schema_validation.R:1510:3', 'test_schema_validation.R:1540:3' • skip (2): 'test_pmml_integration_lm.R:147:3', 'test_pmml_integration_transformations.R:439:3' • skip until export issue is resolved (1): 'test_pmml.nnet.R:66:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_pmml.miningschema.R:29:3'): invalidValueTreatment attribute is exported correctly for xgboost models ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.miningschema.R:29:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Error ('test_pmml.miningschema.R:286:3'): error is thrown if invalidValueTreatment argument is incorrect ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.miningschema.R:286:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Error ('test_pmml.xgb.Booster.R:18:3'): discrete variables are one-hot-encoded ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.xgb.Booster.R:18:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Failure ('test_pmml.xgb.Booster.R:52:3'): error is thrown when objective = reg:linear ── `pmml(...)` threw an error with unexpected message. Expected match: "Only the following objectives are supported: multi:softprob, multi:softmax, binary:logistic." Actual message: "argument is of length zero" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_pmml.xgb.Booster.R:52:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─pmml::pmml(...) 7. └─pmml::pmml.xgb.Booster(...) ── Error ('test_pmml.xgb.Booster.R:70:3'): error is thrown when objective = reg:logistic ── 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 26 | SKIP 51 | PASS 356 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 2.5.2
Check: tests
Result: ERROR Running ‘testthat.R’ [95s/340s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(pmml, quietly = T) > > test_check("pmml") Saving _problems/test_pmml.xgb.Booster-59.R Saving _problems/test_pmml.xgb.Booster-74.R Saving _problems/test_pmml.xgb.Booster-102.R [ FAIL 6 | WARN 26 | SKIP 51 | PASS 356 ] ══ Skipped tests (51) ══════════════════════════════════════════════════════════ • On CRAN (48): 'test_pmml.iForest.R:6:3', 'test_pmml_integration_ARIMA.R:109:3', 'test_pmml_integration_ARIMA.R:184:3', 'test_pmml_integration_ARIMA.R:269:3', 'test_pmml_integration_e1071_svm.R:27:3', 'test_pmml_integration_e1071_svm.R:275:3', 'test_pmml_integration_lm.R:13:3', 'test_pmml_integration_lm.R:123:3', 'test_pmml_integration_lm.R:175:3', 'test_pmml_integration_other.R:120:3', 'test_pmml_integration_other.R:167:3', 'test_pmml_integration_other.R:265:3', 'test_pmml_integration_other.R:439:3', 'test_pmml_integration_other.R:607:3', 'test_pmml_integration_other.R:692:3', 'test_pmml_integration_other.R:849:3', 'test_pmml_integration_other.R:1062:3', 'test_pmml_integration_other.R:1322:3', 'test_pmml_integration_other.R:1442:3', 'test_pmml_integration_other.R:1547:3', 'test_pmml_integration_other.R:1633:3', 'test_pmml_integration_other.R:1822:3', 'test_pmml_integration_transformations.R:19:3', 'test_pmml_integration_transformations.R:319:3', 'test_pmml_integration_transformations.R:354:3', 'test_pmml_integration_transformations.R:377:3', 'test_pmml_integration_transformations.R:407:3', 'test_pmml_integration_transformations.R:469:3', 'test_pmml_integration_xgboost.R:21:3', 'test_schema_validation.R:135:3', 'test_schema_validation.R:183:3', 'test_schema_validation.R:204:3', 'test_schema_validation.R:248:3', 'test_schema_validation.R:343:3', 'test_schema_validation.R:426:3', 'test_schema_validation.R:458:3', 'test_schema_validation.R:500:3', 'test_schema_validation.R:603:3', 'test_schema_validation.R:795:3', 'test_schema_validation.R:933:3', 'test_schema_validation.R:1008:3', 'test_schema_validation.R:1045:3', 'test_schema_validation.R:1077:3', 'test_schema_validation.R:1146:3', 'test_schema_validation.R:1193:3', 'test_schema_validation.R:1429:3', 'test_schema_validation.R:1510:3', 'test_schema_validation.R:1540:3' • skip (2): 'test_pmml_integration_lm.R:147:3', 'test_pmml_integration_transformations.R:439:3' • skip until export issue is resolved (1): 'test_pmml.nnet.R:66:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_pmml.miningschema.R:29:3'): invalidValueTreatment attribute is exported correctly for xgboost models ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.miningschema.R:29:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Error ('test_pmml.miningschema.R:286:3'): error is thrown if invalidValueTreatment argument is incorrect ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.miningschema.R:286:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Error ('test_pmml.xgb.Booster.R:18:3'): discrete variables are one-hot-encoded ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.xgb.Booster.R:18:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Failure ('test_pmml.xgb.Booster.R:52:3'): error is thrown when objective = reg:linear ── `pmml(...)` threw an error with unexpected message. Expected match: "Only the following objectives are supported: multi:softprob, multi:softmax, binary:logistic." Actual message: "argument is of length zero" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_pmml.xgb.Booster.R:52:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─pmml::pmml(...) 7. └─pmml::pmml.xgb.Booster(...) ── Error ('test_pmml.xgb.Booster.R:70:3'): error is thrown when objective = reg:logistic ── 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 26 | SKIP 51 | PASS 356 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 2.5.2
Check: tests
Result: ERROR Running 'testthat.R' [42s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(pmml, quietly = T) > > test_check("pmml") Saving _problems/test_pmml.xgb.Booster-59.R Saving _problems/test_pmml.xgb.Booster-74.R Saving _problems/test_pmml.xgb.Booster-102.R [ FAIL 6 | WARN 26 | SKIP 51 | PASS 356 ] ══ Skipped tests (51) ══════════════════════════════════════════════════════════ • On CRAN (48): 'test_pmml.iForest.R:6:3', 'test_pmml_integration_ARIMA.R:109:3', 'test_pmml_integration_ARIMA.R:184:3', 'test_pmml_integration_ARIMA.R:269:3', 'test_pmml_integration_e1071_svm.R:27:3', 'test_pmml_integration_e1071_svm.R:275:3', 'test_pmml_integration_lm.R:13:3', 'test_pmml_integration_lm.R:123:3', 'test_pmml_integration_lm.R:175:3', 'test_pmml_integration_other.R:120:3', 'test_pmml_integration_other.R:167:3', 'test_pmml_integration_other.R:265:3', 'test_pmml_integration_other.R:439:3', 'test_pmml_integration_other.R:607:3', 'test_pmml_integration_other.R:692:3', 'test_pmml_integration_other.R:849:3', 'test_pmml_integration_other.R:1062:3', 'test_pmml_integration_other.R:1322:3', 'test_pmml_integration_other.R:1442:3', 'test_pmml_integration_other.R:1547:3', 'test_pmml_integration_other.R:1633:3', 'test_pmml_integration_other.R:1822:3', 'test_pmml_integration_transformations.R:19:3', 'test_pmml_integration_transformations.R:319:3', 'test_pmml_integration_transformations.R:354:3', 'test_pmml_integration_transformations.R:377:3', 'test_pmml_integration_transformations.R:407:3', 'test_pmml_integration_transformations.R:469:3', 'test_pmml_integration_xgboost.R:21:3', 'test_schema_validation.R:135:3', 'test_schema_validation.R:183:3', 'test_schema_validation.R:204:3', 'test_schema_validation.R:248:3', 'test_schema_validation.R:343:3', 'test_schema_validation.R:426:3', 'test_schema_validation.R:458:3', 'test_schema_validation.R:500:3', 'test_schema_validation.R:603:3', 'test_schema_validation.R:795:3', 'test_schema_validation.R:933:3', 'test_schema_validation.R:1008:3', 'test_schema_validation.R:1045:3', 'test_schema_validation.R:1077:3', 'test_schema_validation.R:1146:3', 'test_schema_validation.R:1193:3', 'test_schema_validation.R:1429:3', 'test_schema_validation.R:1510:3', 'test_schema_validation.R:1540:3' • skip (2): 'test_pmml_integration_lm.R:147:3', 'test_pmml_integration_transformations.R:439:3' • skip until export issue is resolved (1): 'test_pmml.nnet.R:66:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_pmml.miningschema.R:29:3'): invalidValueTreatment attribute is exported correctly for xgboost models ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.miningschema.R:29:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Error ('test_pmml.miningschema.R:286:3'): error is thrown if invalidValueTreatment argument is incorrect ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.miningschema.R:286:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Error ('test_pmml.xgb.Booster.R:18:3'): discrete variables are one-hot-encoded ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.xgb.Booster.R:18:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Failure ('test_pmml.xgb.Booster.R:52:3'): error is thrown when objective = reg:linear ── `pmml(...)` threw an error with unexpected message. Expected match: "Only the following objectives are supported: multi:softprob, multi:softmax, binary:logistic." Actual message: "argument is of length zero" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_pmml.xgb.Booster.R:52:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─pmml::pmml(...) 7. └─pmml::pmml.xgb.Booster(...) ── Error ('test_pmml.xgb.Booster.R:70:3'): error is thrown when objective = reg:logistic ── 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 26 | SKIP 51 | PASS 356 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64

Version: 2.5.2
Check: tests
Result: ERROR Running ‘testthat.R’ [54s/65s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(pmml, quietly = T) > > test_check("pmml") Saving _problems/test_pmml.xgb.Booster-59.R Saving _problems/test_pmml.xgb.Booster-74.R Saving _problems/test_pmml.xgb.Booster-102.R [ FAIL 6 | WARN 26 | SKIP 51 | PASS 356 ] ══ Skipped tests (51) ══════════════════════════════════════════════════════════ • On CRAN (48): 'test_pmml.iForest.R:6:3', 'test_pmml_integration_ARIMA.R:109:3', 'test_pmml_integration_ARIMA.R:184:3', 'test_pmml_integration_ARIMA.R:269:3', 'test_pmml_integration_e1071_svm.R:27:3', 'test_pmml_integration_e1071_svm.R:275:3', 'test_pmml_integration_lm.R:13:3', 'test_pmml_integration_lm.R:123:3', 'test_pmml_integration_lm.R:175:3', 'test_pmml_integration_other.R:120:3', 'test_pmml_integration_other.R:167:3', 'test_pmml_integration_other.R:265:3', 'test_pmml_integration_other.R:439:3', 'test_pmml_integration_other.R:607:3', 'test_pmml_integration_other.R:692:3', 'test_pmml_integration_other.R:849:3', 'test_pmml_integration_other.R:1062:3', 'test_pmml_integration_other.R:1322:3', 'test_pmml_integration_other.R:1442:3', 'test_pmml_integration_other.R:1547:3', 'test_pmml_integration_other.R:1633:3', 'test_pmml_integration_other.R:1822:3', 'test_pmml_integration_transformations.R:19:3', 'test_pmml_integration_transformations.R:319:3', 'test_pmml_integration_transformations.R:354:3', 'test_pmml_integration_transformations.R:377:3', 'test_pmml_integration_transformations.R:407:3', 'test_pmml_integration_transformations.R:469:3', 'test_pmml_integration_xgboost.R:21:3', 'test_schema_validation.R:135:3', 'test_schema_validation.R:183:3', 'test_schema_validation.R:204:3', 'test_schema_validation.R:248:3', 'test_schema_validation.R:343:3', 'test_schema_validation.R:426:3', 'test_schema_validation.R:458:3', 'test_schema_validation.R:500:3', 'test_schema_validation.R:603:3', 'test_schema_validation.R:795:3', 'test_schema_validation.R:933:3', 'test_schema_validation.R:1008:3', 'test_schema_validation.R:1045:3', 'test_schema_validation.R:1077:3', 'test_schema_validation.R:1146:3', 'test_schema_validation.R:1193:3', 'test_schema_validation.R:1429:3', 'test_schema_validation.R:1510:3', 'test_schema_validation.R:1540:3' • skip (2): 'test_pmml_integration_lm.R:147:3', 'test_pmml_integration_transformations.R:439:3' • skip until export issue is resolved (1): 'test_pmml.nnet.R:66:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_pmml.miningschema.R:29:3'): invalidValueTreatment attribute is exported correctly for xgboost models ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.miningschema.R:29:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Error ('test_pmml.miningschema.R:286:3'): error is thrown if invalidValueTreatment argument is incorrect ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.miningschema.R:286:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Error ('test_pmml.xgb.Booster.R:18:3'): discrete variables are one-hot-encoded ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.xgb.Booster.R:18:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Failure ('test_pmml.xgb.Booster.R:52:3'): error is thrown when objective = reg:linear ── `pmml(...)` threw an error with unexpected message. Expected match: "Only the following objectives are supported: multi:softprob, multi:softmax, binary:logistic." Actual message: "argument is of length zero" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_pmml.xgb.Booster.R:52:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─pmml::pmml(...) 7. └─pmml::pmml.xgb.Booster(...) ── Error ('test_pmml.xgb.Booster.R:70:3'): error is thrown when objective = reg:logistic ── 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 26 | SKIP 51 | PASS 356 ] Error: ! Test failures. Execution halted Flavor: r-patched-linux-x86_64

Version: 2.5.2
Check: tests
Result: ERROR Running ‘testthat.R’ [53s/65s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(pmml, quietly = T) > > test_check("pmml") Saving _problems/test_pmml.xgb.Booster-59.R Saving _problems/test_pmml.xgb.Booster-74.R Saving _problems/test_pmml.xgb.Booster-102.R [ FAIL 6 | WARN 27 | SKIP 51 | PASS 356 ] ══ Skipped tests (51) ══════════════════════════════════════════════════════════ • On CRAN (48): 'test_pmml.iForest.R:6:3', 'test_pmml_integration_ARIMA.R:109:3', 'test_pmml_integration_ARIMA.R:184:3', 'test_pmml_integration_ARIMA.R:269:3', 'test_pmml_integration_e1071_svm.R:27:3', 'test_pmml_integration_e1071_svm.R:275:3', 'test_pmml_integration_lm.R:13:3', 'test_pmml_integration_lm.R:123:3', 'test_pmml_integration_lm.R:175:3', 'test_pmml_integration_other.R:120:3', 'test_pmml_integration_other.R:167:3', 'test_pmml_integration_other.R:265:3', 'test_pmml_integration_other.R:439:3', 'test_pmml_integration_other.R:607:3', 'test_pmml_integration_other.R:692:3', 'test_pmml_integration_other.R:849:3', 'test_pmml_integration_other.R:1062:3', 'test_pmml_integration_other.R:1322:3', 'test_pmml_integration_other.R:1442:3', 'test_pmml_integration_other.R:1547:3', 'test_pmml_integration_other.R:1633:3', 'test_pmml_integration_other.R:1822:3', 'test_pmml_integration_transformations.R:19:3', 'test_pmml_integration_transformations.R:319:3', 'test_pmml_integration_transformations.R:354:3', 'test_pmml_integration_transformations.R:377:3', 'test_pmml_integration_transformations.R:407:3', 'test_pmml_integration_transformations.R:469:3', 'test_pmml_integration_xgboost.R:21:3', 'test_schema_validation.R:135:3', 'test_schema_validation.R:183:3', 'test_schema_validation.R:204:3', 'test_schema_validation.R:248:3', 'test_schema_validation.R:343:3', 'test_schema_validation.R:426:3', 'test_schema_validation.R:458:3', 'test_schema_validation.R:500:3', 'test_schema_validation.R:603:3', 'test_schema_validation.R:795:3', 'test_schema_validation.R:933:3', 'test_schema_validation.R:1008:3', 'test_schema_validation.R:1045:3', 'test_schema_validation.R:1077:3', 'test_schema_validation.R:1146:3', 'test_schema_validation.R:1193:3', 'test_schema_validation.R:1429:3', 'test_schema_validation.R:1510:3', 'test_schema_validation.R:1540:3' • skip (2): 'test_pmml_integration_lm.R:147:3', 'test_pmml_integration_transformations.R:439:3' • skip until export issue is resolved (1): 'test_pmml.nnet.R:66:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_pmml.miningschema.R:29:3'): invalidValueTreatment attribute is exported correctly for xgboost models ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.miningschema.R:29:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Error ('test_pmml.miningschema.R:286:3'): error is thrown if invalidValueTreatment argument is incorrect ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.miningschema.R:286:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Error ('test_pmml.xgb.Booster.R:18:3'): discrete variables are one-hot-encoded ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.xgb.Booster.R:18:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Failure ('test_pmml.xgb.Booster.R:52:3'): error is thrown when objective = reg:linear ── `pmml(...)` threw an error with unexpected message. Expected match: "Only the following objectives are supported: multi:softprob, multi:softmax, binary:logistic." Actual message: "argument is of length zero" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_pmml.xgb.Booster.R:52:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─pmml::pmml(...) 7. └─pmml::pmml.xgb.Booster(...) ── Error ('test_pmml.xgb.Booster.R:70:3'): error is thrown when objective = reg:logistic ── 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 51 | PASS 356 ] Error: ! Test failures. Execution halted Flavor: r-release-linux-x86_64

Version: 2.5.2
Check: tests
Result: ERROR Running 'testthat.R' [63s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(pmml, quietly = T) > > test_check("pmml") Saving _problems/test_pmml.xgb.Booster-59.R Saving _problems/test_pmml.xgb.Booster-74.R Saving _problems/test_pmml.xgb.Booster-102.R [ FAIL 6 | WARN 26 | SKIP 51 | PASS 356 ] ══ Skipped tests (51) ══════════════════════════════════════════════════════════ • On CRAN (48): 'test_pmml.iForest.R:6:3', 'test_pmml_integration_ARIMA.R:109:3', 'test_pmml_integration_ARIMA.R:184:3', 'test_pmml_integration_ARIMA.R:269:3', 'test_pmml_integration_e1071_svm.R:27:3', 'test_pmml_integration_e1071_svm.R:275:3', 'test_pmml_integration_lm.R:13:3', 'test_pmml_integration_lm.R:123:3', 'test_pmml_integration_lm.R:175:3', 'test_pmml_integration_other.R:120:3', 'test_pmml_integration_other.R:167:3', 'test_pmml_integration_other.R:265:3', 'test_pmml_integration_other.R:439:3', 'test_pmml_integration_other.R:607:3', 'test_pmml_integration_other.R:692:3', 'test_pmml_integration_other.R:849:3', 'test_pmml_integration_other.R:1062:3', 'test_pmml_integration_other.R:1322:3', 'test_pmml_integration_other.R:1442:3', 'test_pmml_integration_other.R:1547:3', 'test_pmml_integration_other.R:1633:3', 'test_pmml_integration_other.R:1822:3', 'test_pmml_integration_transformations.R:19:3', 'test_pmml_integration_transformations.R:319:3', 'test_pmml_integration_transformations.R:354:3', 'test_pmml_integration_transformations.R:377:3', 'test_pmml_integration_transformations.R:407:3', 'test_pmml_integration_transformations.R:469:3', 'test_pmml_integration_xgboost.R:21:3', 'test_schema_validation.R:135:3', 'test_schema_validation.R:183:3', 'test_schema_validation.R:204:3', 'test_schema_validation.R:248:3', 'test_schema_validation.R:343:3', 'test_schema_validation.R:426:3', 'test_schema_validation.R:458:3', 'test_schema_validation.R:500:3', 'test_schema_validation.R:603:3', 'test_schema_validation.R:795:3', 'test_schema_validation.R:933:3', 'test_schema_validation.R:1008:3', 'test_schema_validation.R:1045:3', 'test_schema_validation.R:1077:3', 'test_schema_validation.R:1146:3', 'test_schema_validation.R:1193:3', 'test_schema_validation.R:1429:3', 'test_schema_validation.R:1510:3', 'test_schema_validation.R:1540:3' • skip (2): 'test_pmml_integration_lm.R:147:3', 'test_pmml_integration_transformations.R:439:3' • skip until export issue is resolved (1): 'test_pmml.nnet.R:66:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_pmml.miningschema.R:29:3'): invalidValueTreatment attribute is exported correctly for xgboost models ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.miningschema.R:29:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Error ('test_pmml.miningschema.R:286:3'): error is thrown if invalidValueTreatment argument is incorrect ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.miningschema.R:286:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Error ('test_pmml.xgb.Booster.R:18:3'): discrete variables are one-hot-encoded ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. ├─utils::capture.output(...) at test_pmml.xgb.Booster.R:18:3 2. │ └─base::withVisible(...elt(i)) 3. └─xgboost::xgboost(...) 4. └─xgboost:::process.y.margin.and.objective(...) ── Failure ('test_pmml.xgb.Booster.R:52:3'): error is thrown when objective = reg:linear ── `pmml(...)` threw an error with unexpected message. Expected match: "Only the following objectives are supported: multi:softprob, multi:softmax, binary:logistic." Actual message: "argument is of length zero" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_pmml.xgb.Booster.R:52:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─pmml::pmml(...) 7. └─pmml::pmml.xgb.Booster(...) ── Error ('test_pmml.xgb.Booster.R:70:3'): error is thrown when objective = reg:logistic ── 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 26 | SKIP 51 | PASS 356 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.