Last updated on 2025-12-07 09:50:14 CET.
| Package | ERROR | WARN | NOTE | OK |
|---|---|---|---|---|
| cumulocityr | 1 | 3 | 9 | |
| neighbr | 1 | 3 | 9 | |
| pmml | 5 | 8 |
Current CRAN status: WARN: 1, NOTE: 3, OK: 9
Version: 0.1.0
Check: package dependencies
Result: WARN
Cannot process vignettes
Packages suggested but not available for checking:
'knitr', 'rmarkdown', 'covr'
VignetteBuilder package required for checking but not installed: ‘knitr’
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.0
Check: package vignettes
Result: NOTE
Package has ‘vignettes’ subdirectory but apparently no vignettes.
Perhaps the ‘VignetteBuilder’ information is missing from the
DESCRIPTION file?
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.0
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: WARN: 1, NOTE: 3, OK: 9
Version: 1.0.3
Check: package dependencies
Result: WARN
Cannot process vignettes
Packages suggested but not available for checking: 'knitr', 'rmarkdown'
VignetteBuilder package required for checking but not installed: ‘knitr’
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.3
Check: package vignettes
Result: NOTE
Package has ‘vignettes’ subdirectory but apparently no vignettes.
Perhaps the ‘VignetteBuilder’ information is missing from the
DESCRIPTION file?
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.3
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: ERROR: 5, OK: 8
Version: 2.5.2
Check: package dependencies
Result: WARN
Cannot process vignettes
Packages suggested but not available for checking:
'knitr', 'rmarkdown', 'covr'
VignetteBuilder package required for checking but not installed: ‘knitr’
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 2.5.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [32s/36s]
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: package vignettes
Result: NOTE
Package has ‘vignettes’ subdirectory but apparently no vignettes.
Perhaps the ‘VignetteBuilder’ information is missing from the
DESCRIPTION file?
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’ [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' [62s]
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