Last updated on 2025-12-07 09:50:15 CET.
| Package | ERROR | WARN | OK |
|---|---|---|---|
| bonsai | 1 | 12 | |
| broom | 1 | 12 | |
| discrim | 13 | ||
| embed | 13 | ||
| modeldatatoo | 1 | 12 | |
| modelenv | 13 | ||
| orbital | 5 | 1 | 7 |
| rules | 5 | 8 | |
| sparsevctrs | 5 | 8 | |
| textrecipes | 1 | 12 | |
| themis | 13 | ||
| tidyclust | 13 | ||
| tidypredict | 1 | 12 | |
| yardstick | 1 | 12 |
Current CRAN status: WARN: 1, OK: 12
Version: 0.4.0
Check: package dependencies
Result: WARN
Cannot process vignettes
Packages suggested but not available for checking:
'covr', 'knitr', 'rmarkdown'
VignetteBuilder package required for checking but not installed: ‘knitr’
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.4.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
Current CRAN status: WARN: 1, OK: 12
Version: 1.0.11
Check: package dependencies
Result: WARN
Cannot process vignettes
Packages suggested but not available for checking:
'btergm', 'covr', 'epiR', 'ergm', 'gam', 'Hmisc', 'knitr',
'mediation', 'rmarkdown', 'spelling'
VignetteBuilder package required for checking but not installed: ‘knitr’
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.11
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
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, OK: 12
Version: 0.3.0
Check: package dependencies
Result: ERROR
Package required but not available: ‘pins’
Package suggested but not available for checking: ‘covr’
See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: OK: 13
Current CRAN status: ERROR: 5, WARN: 1, OK: 7
Version: 0.4.0
Check: package dependencies
Result: WARN
Cannot process vignettes
Packages suggested but not available for checking:
'gt', 'knitr', 'rmarkdown', 'rstanarm', 'sparklyr', 'tidypredict'
VignetteBuilder package required for checking but not installed: ‘knitr’
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.4.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.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [194s/351s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(orbital)
>
> test_check("orbital")
Loading required package: parsnip
Saving _problems/test-model-xgboost-17.R
Saving _problems/test-model-xgboost-18.R
Saving _problems/test-model-xgboost-23.R
Saving _problems/test-model-xgboost-35.R
Saving _problems/test-model-xgboost-65.R
Saving _problems/test-model-xgboost-66.R
Saving _problems/test-model-xgboost-67.R
Saving _problems/test-model-xgboost-78.R
Saving _problems/test-model-xgboost-90.R
Saving _problems/test-model-xgboost-131.R
Saving _problems/test-model-xgboost-132.R
Saving _problems/test-model-xgboost-133.R
Saving _problems/test-model-xgboost-134.R
Saving _problems/test-model-xgboost-146.R
Saving _problems/test-model-xgboost-158.R
[ FAIL 15 | WARN 2 | SKIP 113 | PASS 370 ]
══ Skipped tests (113) ═════════════════════════════════════════════════════════
• On CRAN (69): 'test-adjust_equivocal_zone.R:36:1',
'test-adjust_equivocal_zone.R:155:3', 'test-adjust_numeric_range.R:123:3',
'test-adjust_predictions_custom.R:98:3',
'test-adjust_probability_threshold.R:34:1',
'test-adjust_probability_threshold.R:148:3', 'test-augment.R:41:3',
'test-dt.R:1:1', 'test-orbital.R:62:1', 'test-orbital.R:93:1',
'test-orbital.R:117:1', 'test-orbital.R:127:1', 'test-orbital.R:134:1',
'test-parsnip.R:1:1', 'test-parsnip.R:48:1', 'test-parsnip.R:63:1',
'test-recipes.R:1:1', 'test-show_query.R:7:3', 'test-sql.R:1:1',
'test-step_adasyn.R:20:1', 'test-step_adasyn.R:83:3',
'test-step_adasyn.R:111:3', 'test-step_bin2factor.R:79:3',
'test-step_boxcox.R:77:3', 'test-step_bsmote.R:20:1',
'test-step_bsmote.R:83:3', 'test-step_center.R:77:3',
'test-step_discretize.R:128:3', 'test-step_downsample.R:20:1',
'test-step_downsample.R:83:3', 'test-step_dummy.R:108:3',
'test-step_impute_mean.R:80:3', 'test-step_impute_median.R:81:3',
'test-step_impute_mode.R:93:3', 'test-step_indicate_na.R:83:3',
'test-step_intercept.R:67:3', 'test-step_inverse.R:94:3',
'test-step_lag.R:63:3', 'test-step_lencode_bayes.R:101:3',
'test-step_lencode_glm.R:96:3', 'test-step_lencode_mixed.R:104:3',
'test-step_log.R:94:3', 'test-step_mutate.R:77:3',
'test-step_nearmiss.R:20:1', 'test-step_nearmiss.R:83:3',
'test-step_normalize.R:77:3', 'test-step_novel.R:99:3',
'test-step_other.R:101:3', 'test-step_pca.R:152:3',
'test-step_pca_sparse.R:133:3', 'test-step_pca_sparse_bayes.R:118:3',
'test-step_pca_truncated.R:111:3', 'test-step_range.R:94:3',
'test-step_ratio.R:88:3', 'test-step_rename.R:77:3', 'test-step_rose.R:20:1',
'test-step_rose.R:83:3', 'test-step_scale.R:77:3', 'test-step_smote.R:20:1',
'test-step_smote.R:83:3', 'test-step_smotenc.R:20:1',
'test-step_smotenc.R:83:3', 'test-step_sqrt.R:77:3',
'test-step_tomek.R:20:1', 'test-step_tomek.R:83:3',
'test-step_unknown.R:97:3', 'test-step_upsample.R:20:1',
'test-step_upsample.R:83:3', 'test-workflows.R:1:1'
• empty test (2): 'test-augment.R:31:1', 'test-augment.R:111:1'
• is.na(testthat_spark_env_version()) is TRUE (42):
'test-adjust_equivocal_zone.R:113:3', 'test-adjust_numeric_range.R:96:3',
'test-adjust_predictions_custom.R:68:3',
'test-adjust_probability_threshold.R:109:3', 'test-step_adasyn.R:57:3',
'test-step_bin2factor.R:56:3', 'test-step_boxcox.R:54:3',
'test-step_bsmote.R:57:3', 'test-step_center.R:54:3',
'test-step_discretize.R:102:3', 'test-step_downsample.R:57:3',
'test-step_dummy.R:82:3', 'test-step_impute_mean.R:56:3',
'test-step_impute_median.R:57:3', 'test-step_impute_mode.R:63:3',
'test-step_indicate_na.R:59:3', 'test-step_intercept.R:44:3',
'test-step_inverse.R:71:3', 'test-step_lencode_bayes.R:73:3',
'test-step_lencode_glm.R:69:3', 'test-step_lencode_mixed.R:75:3',
'test-step_log.R:71:3', 'test-step_mutate.R:54:3',
'test-step_nearmiss.R:57:3', 'test-step_normalize.R:54:3',
'test-step_novel.R:71:3', 'test-step_other.R:73:3', 'test-step_pca.R:128:3',
'test-step_pca_sparse.R:106:3', 'test-step_pca_sparse_bayes.R:90:3',
'test-step_pca_truncated.R:84:3', 'test-step_range.R:71:3',
'test-step_ratio.R:62:3', 'test-step_rename.R:54:3', 'test-step_rose.R:57:3',
'test-step_scale.R:54:3', 'test-step_smote.R:57:3',
'test-step_smotenc.R:57:3', 'test-step_sqrt.R:54:3',
'test-step_tomek.R:57:3', 'test-step_unknown.R:67:3',
'test-step_upsample.R:57:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-model-xgboost.R:17:3'): boost_tree(), objective = binary:logistic, works with type = class ──
Expected `preds` to have names ".pred_class".
Differences:
`actual`:
`expected`: ".pred_class"
── Failure ('test-model-xgboost.R:18:3'): boost_tree(), objective = binary:logistic, works with type = class ──
Expected `preds$.pred_class` to have type "character".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:20:3'): boost_tree(), objective = binary:logistic, works with type = class ──
Expected `preds$.pred_class` to be identical to `as.character(exps$.pred_class)`.
Differences:
`actual` is NULL
`expected` is a character vector ('0', '0', '1', '1', '0', ...)
── Error ('test-model-xgboost.R:35:3'): boost_tree(), objective = binary:logistic, works with type = class ──
Error in `build_fit_formula_xgb(parsedmodel)`: Only objectives "binary:logistic", "reg:squarederror", "reg:logistic", "binary:logitraw" are supported yet.
Backtrace:
▆
1. ├─orbital::orbital(bt_fit, type = "class") at test-model-xgboost.R:35:3
2. └─orbital:::orbital.model_fit(bt_fit, type = "class")
3. ├─base::tryCatch(...)
4. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
7. ├─tidypredict::tidypredict_fit(x)
8. └─tidypredict:::tidypredict_fit._xgb.Booster(x)
9. ├─tidypredict::tidypredict_fit(model$fit)
10. └─tidypredict:::tidypredict_fit.xgb.Booster(model$fit)
11. └─tidypredict:::build_fit_formula_xgb(parsedmodel)
12. └─cli::cli_abort("Only objectives {.val binary:logistic}, {.val reg:squarederror},\n {.val reg:logistic}, {.val binary:logitraw} are supported yet.")
13. └─rlang::abort(...)
── Failure ('test-model-xgboost.R:65:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Expected `preds` to have names `c(".pred_0", ".pred_1")`.
Differences:
`actual`:
`expected`: ".pred_0" ".pred_1"
── Failure ('test-model-xgboost.R:66:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Expected `preds$.pred_0` to have type "double".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:67:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Expected `preds$.pred_1` to have type "double".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:74:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Expected `preds` to equal `exps`.
Differences:
`actual` is length 0
`expected` is length 2
`names(actual)`:
`names(expected)`: ".pred_0" ".pred_1"
`actual$.pred_0` is absent
`expected$.pred_0` is a double vector (0.536467909812927, 0.536467909812927, 0.100352562963963, 0.209237098693848, 0.94028639793396, ...)
`actual$.pred_1` is absent
`expected$.pred_1` is a double vector (0.463532090187073, 0.463532090187073, 0.899647437036037, 0.790762901306152, 0.05971360206604, ...)
── Error ('test-model-xgboost.R:90:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Error in `build_fit_formula_xgb(parsedmodel)`: Only objectives "binary:logistic", "reg:squarederror", "reg:logistic", "binary:logitraw" are supported yet.
Backtrace:
▆
1. ├─orbital::orbital(bt_fit, type = "prob") at test-model-xgboost.R:90:3
2. └─orbital:::orbital.model_fit(bt_fit, type = "prob")
3. ├─base::tryCatch(...)
4. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
7. ├─tidypredict::tidypredict_fit(x)
8. └─tidypredict:::tidypredict_fit._xgb.Booster(x)
9. ├─tidypredict::tidypredict_fit(model$fit)
10. └─tidypredict:::tidypredict_fit.xgb.Booster(model$fit)
11. └─tidypredict:::build_fit_formula_xgb(parsedmodel)
12. └─cli::cli_abort("Only objectives {.val binary:logistic}, {.val reg:squarederror},\n {.val reg:logistic}, {.val binary:logitraw} are supported yet.")
13. └─rlang::abort(...)
── Failure ('test-model-xgboost.R:131:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds` to have names `c(".pred_class", ".pred_0", ".pred_1")`.
Differences:
`actual`:
`expected`: ".pred_class" ".pred_0" ".pred_1"
── Failure ('test-model-xgboost.R:132:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds$.pred_class` to have type "character".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:133:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds$.pred_0` to have type "double".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:134:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds$.pred_1` to have type "double".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:142:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds` to equal `exps`.
Differences:
`actual` is length 0
`expected` is length 3
`names(actual)`:
`names(expected)`: ".pred_class" ".pred_0" ".pred_1"
`actual$.pred_class` is absent
`expected$.pred_class` is a character vector ('0', '0', '1', '1', '0', ...)
`actual$.pred_0` is absent
`expected$.pred_0` is a double vector (0.536467909812927, 0.536467909812927, 0.100352562963963, 0.209237098693848, 0.94028639793396, ...)
`actual$.pred_1` is absent
`expected$.pred_1` is a double vector (0.463532090187073, 0.463532090187073, 0.899647437036037, 0.790762901306152, 0.05971360206604, ...)
── Error ('test-model-xgboost.R:158:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Error in `build_fit_formula_xgb(parsedmodel)`: Only objectives "binary:logistic", "reg:squarederror", "reg:logistic", "binary:logitraw" are supported yet.
Backtrace:
▆
1. ├─orbital::orbital(bt_fit, type = c("class", "prob")) at test-model-xgboost.R:158:3
2. └─orbital:::orbital.model_fit(bt_fit, type = c("class", "prob"))
3. ├─base::tryCatch(...)
4. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
7. ├─tidypredict::tidypredict_fit(x)
8. └─tidypredict:::tidypredict_fit._xgb.Booster(x)
9. ├─tidypredict::tidypredict_fit(model$fit)
10. └─tidypredict:::tidypredict_fit.xgb.Booster(model$fit)
11. └─tidypredict:::build_fit_formula_xgb(parsedmodel)
12. └─cli::cli_abort("Only objectives {.val binary:logistic}, {.val reg:squarederror},\n {.val reg:logistic}, {.val binary:logitraw} are supported yet.")
13. └─rlang::abort(...)
[ FAIL 15 | WARN 2 | SKIP 113 | PASS 370 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [25s/28s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(orbital)
>
> test_check("orbital")
Loading required package: parsnip
Saving _problems/test-model-xgboost-17.R
Saving _problems/test-model-xgboost-18.R
Saving _problems/test-model-xgboost-23.R
Saving _problems/test-model-xgboost-35.R
Saving _problems/test-model-xgboost-65.R
Saving _problems/test-model-xgboost-66.R
Saving _problems/test-model-xgboost-67.R
Saving _problems/test-model-xgboost-78.R
Saving _problems/test-model-xgboost-90.R
Saving _problems/test-model-xgboost-131.R
Saving _problems/test-model-xgboost-132.R
Saving _problems/test-model-xgboost-133.R
Saving _problems/test-model-xgboost-134.R
Saving _problems/test-model-xgboost-146.R
Saving _problems/test-model-xgboost-158.R
[ FAIL 15 | WARN 2 | SKIP 113 | PASS 370 ]
══ Skipped tests (113) ═════════════════════════════════════════════════════════
• On CRAN (69): 'test-adjust_equivocal_zone.R:36:1',
'test-adjust_equivocal_zone.R:155:3', 'test-adjust_numeric_range.R:123:3',
'test-adjust_predictions_custom.R:98:3',
'test-adjust_probability_threshold.R:34:1',
'test-adjust_probability_threshold.R:148:3', 'test-augment.R:41:3',
'test-dt.R:1:1', 'test-orbital.R:62:1', 'test-orbital.R:93:1',
'test-orbital.R:117:1', 'test-orbital.R:127:1', 'test-orbital.R:134:1',
'test-parsnip.R:1:1', 'test-parsnip.R:48:1', 'test-parsnip.R:63:1',
'test-recipes.R:1:1', 'test-show_query.R:7:3', 'test-sql.R:1:1',
'test-step_adasyn.R:20:1', 'test-step_adasyn.R:83:3',
'test-step_adasyn.R:111:3', 'test-step_bin2factor.R:79:3',
'test-step_boxcox.R:77:3', 'test-step_bsmote.R:20:1',
'test-step_bsmote.R:83:3', 'test-step_center.R:77:3',
'test-step_discretize.R:128:3', 'test-step_downsample.R:20:1',
'test-step_downsample.R:83:3', 'test-step_dummy.R:108:3',
'test-step_impute_mean.R:80:3', 'test-step_impute_median.R:81:3',
'test-step_impute_mode.R:93:3', 'test-step_indicate_na.R:83:3',
'test-step_intercept.R:67:3', 'test-step_inverse.R:94:3',
'test-step_lag.R:63:3', 'test-step_lencode_bayes.R:101:3',
'test-step_lencode_glm.R:96:3', 'test-step_lencode_mixed.R:104:3',
'test-step_log.R:94:3', 'test-step_mutate.R:77:3',
'test-step_nearmiss.R:20:1', 'test-step_nearmiss.R:83:3',
'test-step_normalize.R:77:3', 'test-step_novel.R:99:3',
'test-step_other.R:101:3', 'test-step_pca.R:152:3',
'test-step_pca_sparse.R:133:3', 'test-step_pca_sparse_bayes.R:118:3',
'test-step_pca_truncated.R:111:3', 'test-step_range.R:94:3',
'test-step_ratio.R:88:3', 'test-step_rename.R:77:3', 'test-step_rose.R:20:1',
'test-step_rose.R:83:3', 'test-step_scale.R:77:3', 'test-step_smote.R:20:1',
'test-step_smote.R:83:3', 'test-step_smotenc.R:20:1',
'test-step_smotenc.R:83:3', 'test-step_sqrt.R:77:3',
'test-step_tomek.R:20:1', 'test-step_tomek.R:83:3',
'test-step_unknown.R:97:3', 'test-step_upsample.R:20:1',
'test-step_upsample.R:83:3', 'test-workflows.R:1:1'
• empty test (2): 'test-augment.R:31:1', 'test-augment.R:111:1'
• is.na(testthat_spark_env_version()) is TRUE (42):
'test-adjust_equivocal_zone.R:113:3', 'test-adjust_numeric_range.R:96:3',
'test-adjust_predictions_custom.R:68:3',
'test-adjust_probability_threshold.R:109:3', 'test-step_adasyn.R:57:3',
'test-step_bin2factor.R:56:3', 'test-step_boxcox.R:54:3',
'test-step_bsmote.R:57:3', 'test-step_center.R:54:3',
'test-step_discretize.R:102:3', 'test-step_downsample.R:57:3',
'test-step_dummy.R:82:3', 'test-step_impute_mean.R:56:3',
'test-step_impute_median.R:57:3', 'test-step_impute_mode.R:63:3',
'test-step_indicate_na.R:59:3', 'test-step_intercept.R:44:3',
'test-step_inverse.R:71:3', 'test-step_lencode_bayes.R:73:3',
'test-step_lencode_glm.R:69:3', 'test-step_lencode_mixed.R:75:3',
'test-step_log.R:71:3', 'test-step_mutate.R:54:3',
'test-step_nearmiss.R:57:3', 'test-step_normalize.R:54:3',
'test-step_novel.R:71:3', 'test-step_other.R:73:3', 'test-step_pca.R:128:3',
'test-step_pca_sparse.R:106:3', 'test-step_pca_sparse_bayes.R:90:3',
'test-step_pca_truncated.R:84:3', 'test-step_range.R:71:3',
'test-step_ratio.R:62:3', 'test-step_rename.R:54:3', 'test-step_rose.R:57:3',
'test-step_scale.R:54:3', 'test-step_smote.R:57:3',
'test-step_smotenc.R:57:3', 'test-step_sqrt.R:54:3',
'test-step_tomek.R:57:3', 'test-step_unknown.R:67:3',
'test-step_upsample.R:57:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-model-xgboost.R:17:3'): boost_tree(), objective = binary:logistic, works with type = class ──
Expected `preds` to have names ".pred_class".
Differences:
`actual`:
`expected`: ".pred_class"
── Failure ('test-model-xgboost.R:18:3'): boost_tree(), objective = binary:logistic, works with type = class ──
Expected `preds$.pred_class` to have type "character".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:20:3'): boost_tree(), objective = binary:logistic, works with type = class ──
Expected `preds$.pred_class` to be identical to `as.character(exps$.pred_class)`.
Differences:
`actual` is NULL
`expected` is a character vector ('0', '0', '1', '1', '0', ...)
── Error ('test-model-xgboost.R:35:3'): boost_tree(), objective = binary:logistic, works with type = class ──
Error in `build_fit_formula_xgb(parsedmodel)`: Only objectives "binary:logistic", "reg:squarederror", "reg:logistic", "binary:logitraw" are supported yet.
Backtrace:
▆
1. ├─orbital::orbital(bt_fit, type = "class") at test-model-xgboost.R:35:3
2. └─orbital:::orbital.model_fit(bt_fit, type = "class")
3. ├─base::tryCatch(...)
4. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
7. ├─tidypredict::tidypredict_fit(x)
8. └─tidypredict:::tidypredict_fit._xgb.Booster(x)
9. ├─tidypredict::tidypredict_fit(model$fit)
10. └─tidypredict:::tidypredict_fit.xgb.Booster(model$fit)
11. └─tidypredict:::build_fit_formula_xgb(parsedmodel)
12. └─cli::cli_abort("Only objectives {.val binary:logistic}, {.val reg:squarederror},\n {.val reg:logistic}, {.val binary:logitraw} are supported yet.")
13. └─rlang::abort(...)
── Failure ('test-model-xgboost.R:65:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Expected `preds` to have names `c(".pred_0", ".pred_1")`.
Differences:
`actual`:
`expected`: ".pred_0" ".pred_1"
── Failure ('test-model-xgboost.R:66:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Expected `preds$.pred_0` to have type "double".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:67:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Expected `preds$.pred_1` to have type "double".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:74:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Expected `preds` to equal `exps`.
Differences:
`actual` is length 0
`expected` is length 2
`names(actual)`:
`names(expected)`: ".pred_0" ".pred_1"
`actual$.pred_0` is absent
`expected$.pred_0` is a double vector (0.536467909812927, 0.536467909812927, 0.100352562963963, 0.209237098693848, 0.94028639793396, ...)
`actual$.pred_1` is absent
`expected$.pred_1` is a double vector (0.463532090187073, 0.463532090187073, 0.899647437036037, 0.790762901306152, 0.05971360206604, ...)
── Error ('test-model-xgboost.R:90:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Error in `build_fit_formula_xgb(parsedmodel)`: Only objectives "binary:logistic", "reg:squarederror", "reg:logistic", "binary:logitraw" are supported yet.
Backtrace:
▆
1. ├─orbital::orbital(bt_fit, type = "prob") at test-model-xgboost.R:90:3
2. └─orbital:::orbital.model_fit(bt_fit, type = "prob")
3. ├─base::tryCatch(...)
4. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
7. ├─tidypredict::tidypredict_fit(x)
8. └─tidypredict:::tidypredict_fit._xgb.Booster(x)
9. ├─tidypredict::tidypredict_fit(model$fit)
10. └─tidypredict:::tidypredict_fit.xgb.Booster(model$fit)
11. └─tidypredict:::build_fit_formula_xgb(parsedmodel)
12. └─cli::cli_abort("Only objectives {.val binary:logistic}, {.val reg:squarederror},\n {.val reg:logistic}, {.val binary:logitraw} are supported yet.")
13. └─rlang::abort(...)
── Failure ('test-model-xgboost.R:131:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds` to have names `c(".pred_class", ".pred_0", ".pred_1")`.
Differences:
`actual`:
`expected`: ".pred_class" ".pred_0" ".pred_1"
── Failure ('test-model-xgboost.R:132:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds$.pred_class` to have type "character".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:133:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds$.pred_0` to have type "double".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:134:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds$.pred_1` to have type "double".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:142:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds` to equal `exps`.
Differences:
`actual` is length 0
`expected` is length 3
`names(actual)`:
`names(expected)`: ".pred_class" ".pred_0" ".pred_1"
`actual$.pred_class` is absent
`expected$.pred_class` is a character vector ('0', '0', '1', '1', '0', ...)
`actual$.pred_0` is absent
`expected$.pred_0` is a double vector (0.536467909812927, 0.536467909812927, 0.100352562963963, 0.209237098693848, 0.94028639793396, ...)
`actual$.pred_1` is absent
`expected$.pred_1` is a double vector (0.463532090187073, 0.463532090187073, 0.899647437036037, 0.790762901306152, 0.05971360206604, ...)
── Error ('test-model-xgboost.R:158:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Error in `build_fit_formula_xgb(parsedmodel)`: Only objectives "binary:logistic", "reg:squarederror", "reg:logistic", "binary:logitraw" are supported yet.
Backtrace:
▆
1. ├─orbital::orbital(bt_fit, type = c("class", "prob")) at test-model-xgboost.R:158:3
2. └─orbital:::orbital.model_fit(bt_fit, type = c("class", "prob"))
3. ├─base::tryCatch(...)
4. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
7. ├─tidypredict::tidypredict_fit(x)
8. └─tidypredict:::tidypredict_fit._xgb.Booster(x)
9. ├─tidypredict::tidypredict_fit(model$fit)
10. └─tidypredict:::tidypredict_fit.xgb.Booster(model$fit)
11. └─tidypredict:::build_fit_formula_xgb(parsedmodel)
12. └─cli::cli_abort("Only objectives {.val binary:logistic}, {.val reg:squarederror},\n {.val reg:logistic}, {.val binary:logitraw} are supported yet.")
13. └─rlang::abort(...)
[ FAIL 15 | WARN 2 | SKIP 113 | PASS 370 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-macos-arm64
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [82s/129s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(orbital)
>
> test_check("orbital")
Loading required package: parsnip
Saving _problems/test-model-xgboost-17.R
Saving _problems/test-model-xgboost-18.R
Saving _problems/test-model-xgboost-23.R
Saving _problems/test-model-xgboost-35.R
Saving _problems/test-model-xgboost-65.R
Saving _problems/test-model-xgboost-66.R
Saving _problems/test-model-xgboost-67.R
Saving _problems/test-model-xgboost-78.R
Saving _problems/test-model-xgboost-90.R
Saving _problems/test-model-xgboost-131.R
Saving _problems/test-model-xgboost-132.R
Saving _problems/test-model-xgboost-133.R
Saving _problems/test-model-xgboost-134.R
Saving _problems/test-model-xgboost-146.R
Saving _problems/test-model-xgboost-158.R
[ FAIL 15 | WARN 2 | SKIP 113 | PASS 370 ]
══ Skipped tests (113) ═════════════════════════════════════════════════════════
• On CRAN (69): 'test-adjust_equivocal_zone.R:36:1',
'test-adjust_equivocal_zone.R:155:3', 'test-adjust_numeric_range.R:123:3',
'test-adjust_predictions_custom.R:98:3',
'test-adjust_probability_threshold.R:34:1',
'test-adjust_probability_threshold.R:148:3', 'test-augment.R:41:3',
'test-dt.R:1:1', 'test-orbital.R:62:1', 'test-orbital.R:93:1',
'test-orbital.R:117:1', 'test-orbital.R:127:1', 'test-orbital.R:134:1',
'test-parsnip.R:1:1', 'test-parsnip.R:48:1', 'test-parsnip.R:63:1',
'test-recipes.R:1:1', 'test-show_query.R:7:3', 'test-sql.R:1:1',
'test-step_adasyn.R:20:1', 'test-step_adasyn.R:83:3',
'test-step_adasyn.R:111:3', 'test-step_bin2factor.R:79:3',
'test-step_boxcox.R:77:3', 'test-step_bsmote.R:20:1',
'test-step_bsmote.R:83:3', 'test-step_center.R:77:3',
'test-step_discretize.R:128:3', 'test-step_downsample.R:20:1',
'test-step_downsample.R:83:3', 'test-step_dummy.R:108:3',
'test-step_impute_mean.R:80:3', 'test-step_impute_median.R:81:3',
'test-step_impute_mode.R:93:3', 'test-step_indicate_na.R:83:3',
'test-step_intercept.R:67:3', 'test-step_inverse.R:94:3',
'test-step_lag.R:63:3', 'test-step_lencode_bayes.R:101:3',
'test-step_lencode_glm.R:96:3', 'test-step_lencode_mixed.R:104:3',
'test-step_log.R:94:3', 'test-step_mutate.R:77:3',
'test-step_nearmiss.R:20:1', 'test-step_nearmiss.R:83:3',
'test-step_normalize.R:77:3', 'test-step_novel.R:99:3',
'test-step_other.R:101:3', 'test-step_pca.R:152:3',
'test-step_pca_sparse.R:133:3', 'test-step_pca_sparse_bayes.R:118:3',
'test-step_pca_truncated.R:111:3', 'test-step_range.R:94:3',
'test-step_ratio.R:88:3', 'test-step_rename.R:77:3', 'test-step_rose.R:20:1',
'test-step_rose.R:83:3', 'test-step_scale.R:77:3', 'test-step_smote.R:20:1',
'test-step_smote.R:83:3', 'test-step_smotenc.R:20:1',
'test-step_smotenc.R:83:3', 'test-step_sqrt.R:77:3',
'test-step_tomek.R:20:1', 'test-step_tomek.R:83:3',
'test-step_unknown.R:97:3', 'test-step_upsample.R:20:1',
'test-step_upsample.R:83:3', 'test-workflows.R:1:1'
• empty test (2): 'test-augment.R:31:1', 'test-augment.R:111:1'
• is.na(testthat_spark_env_version()) is TRUE (42):
'test-adjust_equivocal_zone.R:113:3', 'test-adjust_numeric_range.R:96:3',
'test-adjust_predictions_custom.R:68:3',
'test-adjust_probability_threshold.R:109:3', 'test-step_adasyn.R:57:3',
'test-step_bin2factor.R:56:3', 'test-step_boxcox.R:54:3',
'test-step_bsmote.R:57:3', 'test-step_center.R:54:3',
'test-step_discretize.R:102:3', 'test-step_downsample.R:57:3',
'test-step_dummy.R:82:3', 'test-step_impute_mean.R:56:3',
'test-step_impute_median.R:57:3', 'test-step_impute_mode.R:63:3',
'test-step_indicate_na.R:59:3', 'test-step_intercept.R:44:3',
'test-step_inverse.R:71:3', 'test-step_lencode_bayes.R:73:3',
'test-step_lencode_glm.R:69:3', 'test-step_lencode_mixed.R:75:3',
'test-step_log.R:71:3', 'test-step_mutate.R:54:3',
'test-step_nearmiss.R:57:3', 'test-step_normalize.R:54:3',
'test-step_novel.R:71:3', 'test-step_other.R:73:3', 'test-step_pca.R:128:3',
'test-step_pca_sparse.R:106:3', 'test-step_pca_sparse_bayes.R:90:3',
'test-step_pca_truncated.R:84:3', 'test-step_range.R:71:3',
'test-step_ratio.R:62:3', 'test-step_rename.R:54:3', 'test-step_rose.R:57:3',
'test-step_scale.R:54:3', 'test-step_smote.R:57:3',
'test-step_smotenc.R:57:3', 'test-step_sqrt.R:54:3',
'test-step_tomek.R:57:3', 'test-step_unknown.R:67:3',
'test-step_upsample.R:57:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-model-xgboost.R:17:3'): boost_tree(), objective = binary:logistic, works with type = class ──
Expected `preds` to have names ".pred_class".
Differences:
`actual`:
`expected`: ".pred_class"
── Failure ('test-model-xgboost.R:18:3'): boost_tree(), objective = binary:logistic, works with type = class ──
Expected `preds$.pred_class` to have type "character".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:20:3'): boost_tree(), objective = binary:logistic, works with type = class ──
Expected `preds$.pred_class` to be identical to `as.character(exps$.pred_class)`.
Differences:
`actual` is NULL
`expected` is a character vector ('0', '0', '1', '1', '0', ...)
── Error ('test-model-xgboost.R:35:3'): boost_tree(), objective = binary:logistic, works with type = class ──
Error in `build_fit_formula_xgb(parsedmodel)`: Only objectives "binary:logistic", "reg:squarederror", "reg:logistic", "binary:logitraw" are supported yet.
Backtrace:
▆
1. ├─orbital::orbital(bt_fit, type = "class") at test-model-xgboost.R:35:3
2. └─orbital:::orbital.model_fit(bt_fit, type = "class")
3. ├─base::tryCatch(...)
4. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
7. ├─tidypredict::tidypredict_fit(x)
8. └─tidypredict:::tidypredict_fit._xgb.Booster(x)
9. ├─tidypredict::tidypredict_fit(model$fit)
10. └─tidypredict:::tidypredict_fit.xgb.Booster(model$fit)
11. └─tidypredict:::build_fit_formula_xgb(parsedmodel)
12. └─cli::cli_abort("Only objectives {.val binary:logistic}, {.val reg:squarederror},\n {.val reg:logistic}, {.val binary:logitraw} are supported yet.")
13. └─rlang::abort(...)
── Failure ('test-model-xgboost.R:65:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Expected `preds` to have names `c(".pred_0", ".pred_1")`.
Differences:
`actual`:
`expected`: ".pred_0" ".pred_1"
── Failure ('test-model-xgboost.R:66:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Expected `preds$.pred_0` to have type "double".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:67:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Expected `preds$.pred_1` to have type "double".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:74:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Expected `preds` to equal `exps`.
Differences:
`actual` is length 0
`expected` is length 2
`names(actual)`:
`names(expected)`: ".pred_0" ".pred_1"
`actual$.pred_0` is absent
`expected$.pred_0` is a double vector (0.536467909812927, 0.536467909812927, 0.100352562963963, 0.209237098693848, 0.94028639793396, ...)
`actual$.pred_1` is absent
`expected$.pred_1` is a double vector (0.463532090187073, 0.463532090187073, 0.899647437036037, 0.790762901306152, 0.05971360206604, ...)
── Error ('test-model-xgboost.R:90:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Error in `build_fit_formula_xgb(parsedmodel)`: Only objectives "binary:logistic", "reg:squarederror", "reg:logistic", "binary:logitraw" are supported yet.
Backtrace:
▆
1. ├─orbital::orbital(bt_fit, type = "prob") at test-model-xgboost.R:90:3
2. └─orbital:::orbital.model_fit(bt_fit, type = "prob")
3. ├─base::tryCatch(...)
4. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
7. ├─tidypredict::tidypredict_fit(x)
8. └─tidypredict:::tidypredict_fit._xgb.Booster(x)
9. ├─tidypredict::tidypredict_fit(model$fit)
10. └─tidypredict:::tidypredict_fit.xgb.Booster(model$fit)
11. └─tidypredict:::build_fit_formula_xgb(parsedmodel)
12. └─cli::cli_abort("Only objectives {.val binary:logistic}, {.val reg:squarederror},\n {.val reg:logistic}, {.val binary:logitraw} are supported yet.")
13. └─rlang::abort(...)
── Failure ('test-model-xgboost.R:131:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds` to have names `c(".pred_class", ".pred_0", ".pred_1")`.
Differences:
`actual`:
`expected`: ".pred_class" ".pred_0" ".pred_1"
── Failure ('test-model-xgboost.R:132:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds$.pred_class` to have type "character".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:133:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds$.pred_0` to have type "double".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:134:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds$.pred_1` to have type "double".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:142:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds` to equal `exps`.
Differences:
`actual` is length 0
`expected` is length 3
`names(actual)`:
`names(expected)`: ".pred_class" ".pred_0" ".pred_1"
`actual$.pred_class` is absent
`expected$.pred_class` is a character vector ('0', '0', '1', '1', '0', ...)
`actual$.pred_0` is absent
`expected$.pred_0` is a double vector (0.536467909812927, 0.536467909812927, 0.100352562963963, 0.209237098693848, 0.94028639793396, ...)
`actual$.pred_1` is absent
`expected$.pred_1` is a double vector (0.463532090187073, 0.463532090187073, 0.899647437036037, 0.790762901306152, 0.05971360206604, ...)
── Error ('test-model-xgboost.R:158:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Error in `build_fit_formula_xgb(parsedmodel)`: Only objectives "binary:logistic", "reg:squarederror", "reg:logistic", "binary:logitraw" are supported yet.
Backtrace:
▆
1. ├─orbital::orbital(bt_fit, type = c("class", "prob")) at test-model-xgboost.R:158:3
2. └─orbital:::orbital.model_fit(bt_fit, type = c("class", "prob"))
3. ├─base::tryCatch(...)
4. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
7. ├─tidypredict::tidypredict_fit(x)
8. └─tidypredict:::tidypredict_fit._xgb.Booster(x)
9. ├─tidypredict::tidypredict_fit(model$fit)
10. └─tidypredict:::tidypredict_fit.xgb.Booster(model$fit)
11. └─tidypredict:::build_fit_formula_xgb(parsedmodel)
12. └─cli::cli_abort("Only objectives {.val binary:logistic}, {.val reg:squarederror},\n {.val reg:logistic}, {.val binary:logitraw} are supported yet.")
13. └─rlang::abort(...)
[ FAIL 15 | WARN 2 | SKIP 113 | PASS 370 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-macos-x86_64
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [25s/31s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(orbital)
>
> test_check("orbital")
Loading required package: parsnip
Saving _problems/test-model-xgboost-17.R
Saving _problems/test-model-xgboost-18.R
Saving _problems/test-model-xgboost-23.R
Saving _problems/test-model-xgboost-35.R
Saving _problems/test-model-xgboost-65.R
Saving _problems/test-model-xgboost-66.R
Saving _problems/test-model-xgboost-67.R
Saving _problems/test-model-xgboost-78.R
Saving _problems/test-model-xgboost-90.R
Saving _problems/test-model-xgboost-131.R
Saving _problems/test-model-xgboost-132.R
Saving _problems/test-model-xgboost-133.R
Saving _problems/test-model-xgboost-134.R
Saving _problems/test-model-xgboost-146.R
Saving _problems/test-model-xgboost-158.R
[ FAIL 15 | WARN 2 | SKIP 113 | PASS 370 ]
══ Skipped tests (113) ═════════════════════════════════════════════════════════
• On CRAN (69): 'test-adjust_equivocal_zone.R:36:1',
'test-adjust_equivocal_zone.R:155:3', 'test-adjust_numeric_range.R:123:3',
'test-adjust_predictions_custom.R:98:3',
'test-adjust_probability_threshold.R:34:1',
'test-adjust_probability_threshold.R:148:3', 'test-augment.R:41:3',
'test-dt.R:1:1', 'test-orbital.R:62:1', 'test-orbital.R:93:1',
'test-orbital.R:117:1', 'test-orbital.R:127:1', 'test-orbital.R:134:1',
'test-parsnip.R:1:1', 'test-parsnip.R:48:1', 'test-parsnip.R:63:1',
'test-recipes.R:1:1', 'test-show_query.R:7:3', 'test-sql.R:1:1',
'test-step_adasyn.R:20:1', 'test-step_adasyn.R:83:3',
'test-step_adasyn.R:111:3', 'test-step_bin2factor.R:79:3',
'test-step_boxcox.R:77:3', 'test-step_bsmote.R:20:1',
'test-step_bsmote.R:83:3', 'test-step_center.R:77:3',
'test-step_discretize.R:128:3', 'test-step_downsample.R:20:1',
'test-step_downsample.R:83:3', 'test-step_dummy.R:108:3',
'test-step_impute_mean.R:80:3', 'test-step_impute_median.R:81:3',
'test-step_impute_mode.R:93:3', 'test-step_indicate_na.R:83:3',
'test-step_intercept.R:67:3', 'test-step_inverse.R:94:3',
'test-step_lag.R:63:3', 'test-step_lencode_bayes.R:101:3',
'test-step_lencode_glm.R:96:3', 'test-step_lencode_mixed.R:104:3',
'test-step_log.R:94:3', 'test-step_mutate.R:77:3',
'test-step_nearmiss.R:20:1', 'test-step_nearmiss.R:83:3',
'test-step_normalize.R:77:3', 'test-step_novel.R:99:3',
'test-step_other.R:101:3', 'test-step_pca.R:152:3',
'test-step_pca_sparse.R:133:3', 'test-step_pca_sparse_bayes.R:118:3',
'test-step_pca_truncated.R:111:3', 'test-step_range.R:94:3',
'test-step_ratio.R:88:3', 'test-step_rename.R:77:3', 'test-step_rose.R:20:1',
'test-step_rose.R:83:3', 'test-step_scale.R:77:3', 'test-step_smote.R:20:1',
'test-step_smote.R:83:3', 'test-step_smotenc.R:20:1',
'test-step_smotenc.R:83:3', 'test-step_sqrt.R:77:3',
'test-step_tomek.R:20:1', 'test-step_tomek.R:83:3',
'test-step_unknown.R:97:3', 'test-step_upsample.R:20:1',
'test-step_upsample.R:83:3', 'test-workflows.R:1:1'
• empty test (2): 'test-augment.R:31:1', 'test-augment.R:111:1'
• is.na(testthat_spark_env_version()) is TRUE (42):
'test-adjust_equivocal_zone.R:113:3', 'test-adjust_numeric_range.R:96:3',
'test-adjust_predictions_custom.R:68:3',
'test-adjust_probability_threshold.R:109:3', 'test-step_adasyn.R:57:3',
'test-step_bin2factor.R:56:3', 'test-step_boxcox.R:54:3',
'test-step_bsmote.R:57:3', 'test-step_center.R:54:3',
'test-step_discretize.R:102:3', 'test-step_downsample.R:57:3',
'test-step_dummy.R:82:3', 'test-step_impute_mean.R:56:3',
'test-step_impute_median.R:57:3', 'test-step_impute_mode.R:63:3',
'test-step_indicate_na.R:59:3', 'test-step_intercept.R:44:3',
'test-step_inverse.R:71:3', 'test-step_lencode_bayes.R:73:3',
'test-step_lencode_glm.R:69:3', 'test-step_lencode_mixed.R:75:3',
'test-step_log.R:71:3', 'test-step_mutate.R:54:3',
'test-step_nearmiss.R:57:3', 'test-step_normalize.R:54:3',
'test-step_novel.R:71:3', 'test-step_other.R:73:3', 'test-step_pca.R:128:3',
'test-step_pca_sparse.R:106:3', 'test-step_pca_sparse_bayes.R:90:3',
'test-step_pca_truncated.R:84:3', 'test-step_range.R:71:3',
'test-step_ratio.R:62:3', 'test-step_rename.R:54:3', 'test-step_rose.R:57:3',
'test-step_scale.R:54:3', 'test-step_smote.R:57:3',
'test-step_smotenc.R:57:3', 'test-step_sqrt.R:54:3',
'test-step_tomek.R:57:3', 'test-step_unknown.R:67:3',
'test-step_upsample.R:57:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-model-xgboost.R:17:3'): boost_tree(), objective = binary:logistic, works with type = class ──
Expected `preds` to have names ".pred_class".
Differences:
`actual`:
`expected`: ".pred_class"
── Failure ('test-model-xgboost.R:18:3'): boost_tree(), objective = binary:logistic, works with type = class ──
Expected `preds$.pred_class` to have type "character".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:20:3'): boost_tree(), objective = binary:logistic, works with type = class ──
Expected `preds$.pred_class` to be identical to `as.character(exps$.pred_class)`.
Differences:
`actual` is NULL
`expected` is a character vector ('0', '0', '1', '1', '0', ...)
── Error ('test-model-xgboost.R:35:3'): boost_tree(), objective = binary:logistic, works with type = class ──
Error in `build_fit_formula_xgb(parsedmodel)`: Only objectives "binary:logistic", "reg:squarederror", "reg:logistic", "binary:logitraw" are supported yet.
Backtrace:
▆
1. ├─orbital::orbital(bt_fit, type = "class") at test-model-xgboost.R:35:3
2. └─orbital:::orbital.model_fit(bt_fit, type = "class")
3. ├─base::tryCatch(...)
4. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
7. ├─tidypredict::tidypredict_fit(x)
8. └─tidypredict:::tidypredict_fit._xgb.Booster(x)
9. ├─tidypredict::tidypredict_fit(model$fit)
10. └─tidypredict:::tidypredict_fit.xgb.Booster(model$fit)
11. └─tidypredict:::build_fit_formula_xgb(parsedmodel)
12. └─cli::cli_abort("Only objectives {.val binary:logistic}, {.val reg:squarederror},\n {.val reg:logistic}, {.val binary:logitraw} are supported yet.")
13. └─rlang::abort(...)
── Failure ('test-model-xgboost.R:65:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Expected `preds` to have names `c(".pred_0", ".pred_1")`.
Differences:
`actual`:
`expected`: ".pred_0" ".pred_1"
── Failure ('test-model-xgboost.R:66:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Expected `preds$.pred_0` to have type "double".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:67:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Expected `preds$.pred_1` to have type "double".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:74:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Expected `preds` to equal `exps`.
Differences:
`actual` is length 0
`expected` is length 2
`names(actual)`:
`names(expected)`: ".pred_0" ".pred_1"
`actual$.pred_0` is absent
`expected$.pred_0` is a double vector (0.536467909812927, 0.536467909812927, 0.100352562963963, 0.209237098693848, 0.94028639793396, ...)
`actual$.pred_1` is absent
`expected$.pred_1` is a double vector (0.463532090187073, 0.463532090187073, 0.899647437036037, 0.790762901306152, 0.05971360206604, ...)
── Error ('test-model-xgboost.R:90:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Error in `build_fit_formula_xgb(parsedmodel)`: Only objectives "binary:logistic", "reg:squarederror", "reg:logistic", "binary:logitraw" are supported yet.
Backtrace:
▆
1. ├─orbital::orbital(bt_fit, type = "prob") at test-model-xgboost.R:90:3
2. └─orbital:::orbital.model_fit(bt_fit, type = "prob")
3. ├─base::tryCatch(...)
4. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
7. ├─tidypredict::tidypredict_fit(x)
8. └─tidypredict:::tidypredict_fit._xgb.Booster(x)
9. ├─tidypredict::tidypredict_fit(model$fit)
10. └─tidypredict:::tidypredict_fit.xgb.Booster(model$fit)
11. └─tidypredict:::build_fit_formula_xgb(parsedmodel)
12. └─cli::cli_abort("Only objectives {.val binary:logistic}, {.val reg:squarederror},\n {.val reg:logistic}, {.val binary:logitraw} are supported yet.")
13. └─rlang::abort(...)
── Failure ('test-model-xgboost.R:131:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds` to have names `c(".pred_class", ".pred_0", ".pred_1")`.
Differences:
`actual`:
`expected`: ".pred_class" ".pred_0" ".pred_1"
── Failure ('test-model-xgboost.R:132:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds$.pred_class` to have type "character".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:133:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds$.pred_0` to have type "double".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:134:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds$.pred_1` to have type "double".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:142:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds` to equal `exps`.
Differences:
`actual` is length 0
`expected` is length 3
`names(actual)`:
`names(expected)`: ".pred_class" ".pred_0" ".pred_1"
`actual$.pred_class` is absent
`expected$.pred_class` is a character vector ('0', '0', '1', '1', '0', ...)
`actual$.pred_0` is absent
`expected$.pred_0` is a double vector (0.536467909812927, 0.536467909812927, 0.100352562963963, 0.209237098693848, 0.94028639793396, ...)
`actual$.pred_1` is absent
`expected$.pred_1` is a double vector (0.463532090187073, 0.463532090187073, 0.899647437036037, 0.790762901306152, 0.05971360206604, ...)
── Error ('test-model-xgboost.R:158:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Error in `build_fit_formula_xgb(parsedmodel)`: Only objectives "binary:logistic", "reg:squarederror", "reg:logistic", "binary:logitraw" are supported yet.
Backtrace:
▆
1. ├─orbital::orbital(bt_fit, type = c("class", "prob")) at test-model-xgboost.R:158:3
2. └─orbital:::orbital.model_fit(bt_fit, type = c("class", "prob"))
3. ├─base::tryCatch(...)
4. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
7. ├─tidypredict::tidypredict_fit(x)
8. └─tidypredict:::tidypredict_fit._xgb.Booster(x)
9. ├─tidypredict::tidypredict_fit(model$fit)
10. └─tidypredict:::tidypredict_fit.xgb.Booster(model$fit)
11. └─tidypredict:::build_fit_formula_xgb(parsedmodel)
12. └─cli::cli_abort("Only objectives {.val binary:logistic}, {.val reg:squarederror},\n {.val reg:logistic}, {.val binary:logitraw} are supported yet.")
13. └─rlang::abort(...)
[ FAIL 15 | WARN 2 | SKIP 113 | PASS 370 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-macos-arm64
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [78s/144s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(orbital)
>
> test_check("orbital")
Loading required package: parsnip
Saving _problems/test-model-xgboost-17.R
Saving _problems/test-model-xgboost-18.R
Saving _problems/test-model-xgboost-23.R
Saving _problems/test-model-xgboost-35.R
Saving _problems/test-model-xgboost-65.R
Saving _problems/test-model-xgboost-66.R
Saving _problems/test-model-xgboost-67.R
Saving _problems/test-model-xgboost-78.R
Saving _problems/test-model-xgboost-90.R
Saving _problems/test-model-xgboost-131.R
Saving _problems/test-model-xgboost-132.R
Saving _problems/test-model-xgboost-133.R
Saving _problems/test-model-xgboost-134.R
Saving _problems/test-model-xgboost-146.R
Saving _problems/test-model-xgboost-158.R
[ FAIL 15 | WARN 2 | SKIP 113 | PASS 370 ]
══ Skipped tests (113) ═════════════════════════════════════════════════════════
• On CRAN (69): 'test-adjust_equivocal_zone.R:36:1',
'test-adjust_equivocal_zone.R:155:3', 'test-adjust_numeric_range.R:123:3',
'test-adjust_predictions_custom.R:98:3',
'test-adjust_probability_threshold.R:34:1',
'test-adjust_probability_threshold.R:148:3', 'test-augment.R:41:3',
'test-dt.R:1:1', 'test-orbital.R:62:1', 'test-orbital.R:93:1',
'test-orbital.R:117:1', 'test-orbital.R:127:1', 'test-orbital.R:134:1',
'test-parsnip.R:1:1', 'test-parsnip.R:48:1', 'test-parsnip.R:63:1',
'test-recipes.R:1:1', 'test-show_query.R:7:3', 'test-sql.R:1:1',
'test-step_adasyn.R:20:1', 'test-step_adasyn.R:83:3',
'test-step_adasyn.R:111:3', 'test-step_bin2factor.R:79:3',
'test-step_boxcox.R:77:3', 'test-step_bsmote.R:20:1',
'test-step_bsmote.R:83:3', 'test-step_center.R:77:3',
'test-step_discretize.R:128:3', 'test-step_downsample.R:20:1',
'test-step_downsample.R:83:3', 'test-step_dummy.R:108:3',
'test-step_impute_mean.R:80:3', 'test-step_impute_median.R:81:3',
'test-step_impute_mode.R:93:3', 'test-step_indicate_na.R:83:3',
'test-step_intercept.R:67:3', 'test-step_inverse.R:94:3',
'test-step_lag.R:63:3', 'test-step_lencode_bayes.R:101:3',
'test-step_lencode_glm.R:96:3', 'test-step_lencode_mixed.R:104:3',
'test-step_log.R:94:3', 'test-step_mutate.R:77:3',
'test-step_nearmiss.R:20:1', 'test-step_nearmiss.R:83:3',
'test-step_normalize.R:77:3', 'test-step_novel.R:99:3',
'test-step_other.R:101:3', 'test-step_pca.R:152:3',
'test-step_pca_sparse.R:133:3', 'test-step_pca_sparse_bayes.R:118:3',
'test-step_pca_truncated.R:111:3', 'test-step_range.R:94:3',
'test-step_ratio.R:88:3', 'test-step_rename.R:77:3', 'test-step_rose.R:20:1',
'test-step_rose.R:83:3', 'test-step_scale.R:77:3', 'test-step_smote.R:20:1',
'test-step_smote.R:83:3', 'test-step_smotenc.R:20:1',
'test-step_smotenc.R:83:3', 'test-step_sqrt.R:77:3',
'test-step_tomek.R:20:1', 'test-step_tomek.R:83:3',
'test-step_unknown.R:97:3', 'test-step_upsample.R:20:1',
'test-step_upsample.R:83:3', 'test-workflows.R:1:1'
• empty test (2): 'test-augment.R:31:1', 'test-augment.R:111:1'
• is.na(testthat_spark_env_version()) is TRUE (42):
'test-adjust_equivocal_zone.R:113:3', 'test-adjust_numeric_range.R:96:3',
'test-adjust_predictions_custom.R:68:3',
'test-adjust_probability_threshold.R:109:3', 'test-step_adasyn.R:57:3',
'test-step_bin2factor.R:56:3', 'test-step_boxcox.R:54:3',
'test-step_bsmote.R:57:3', 'test-step_center.R:54:3',
'test-step_discretize.R:102:3', 'test-step_downsample.R:57:3',
'test-step_dummy.R:82:3', 'test-step_impute_mean.R:56:3',
'test-step_impute_median.R:57:3', 'test-step_impute_mode.R:63:3',
'test-step_indicate_na.R:59:3', 'test-step_intercept.R:44:3',
'test-step_inverse.R:71:3', 'test-step_lencode_bayes.R:73:3',
'test-step_lencode_glm.R:69:3', 'test-step_lencode_mixed.R:75:3',
'test-step_log.R:71:3', 'test-step_mutate.R:54:3',
'test-step_nearmiss.R:57:3', 'test-step_normalize.R:54:3',
'test-step_novel.R:71:3', 'test-step_other.R:73:3', 'test-step_pca.R:128:3',
'test-step_pca_sparse.R:106:3', 'test-step_pca_sparse_bayes.R:90:3',
'test-step_pca_truncated.R:84:3', 'test-step_range.R:71:3',
'test-step_ratio.R:62:3', 'test-step_rename.R:54:3', 'test-step_rose.R:57:3',
'test-step_scale.R:54:3', 'test-step_smote.R:57:3',
'test-step_smotenc.R:57:3', 'test-step_sqrt.R:54:3',
'test-step_tomek.R:57:3', 'test-step_unknown.R:67:3',
'test-step_upsample.R:57:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-model-xgboost.R:17:3'): boost_tree(), objective = binary:logistic, works with type = class ──
Expected `preds` to have names ".pred_class".
Differences:
`actual`:
`expected`: ".pred_class"
── Failure ('test-model-xgboost.R:18:3'): boost_tree(), objective = binary:logistic, works with type = class ──
Expected `preds$.pred_class` to have type "character".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:20:3'): boost_tree(), objective = binary:logistic, works with type = class ──
Expected `preds$.pred_class` to be identical to `as.character(exps$.pred_class)`.
Differences:
`actual` is NULL
`expected` is a character vector ('0', '0', '1', '1', '0', ...)
── Error ('test-model-xgboost.R:35:3'): boost_tree(), objective = binary:logistic, works with type = class ──
Error in `build_fit_formula_xgb(parsedmodel)`: Only objectives "binary:logistic", "reg:squarederror", "reg:logistic", "binary:logitraw" are supported yet.
Backtrace:
▆
1. ├─orbital::orbital(bt_fit, type = "class") at test-model-xgboost.R:35:3
2. └─orbital:::orbital.model_fit(bt_fit, type = "class")
3. ├─base::tryCatch(...)
4. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
7. ├─tidypredict::tidypredict_fit(x)
8. └─tidypredict:::tidypredict_fit._xgb.Booster(x)
9. ├─tidypredict::tidypredict_fit(model$fit)
10. └─tidypredict:::tidypredict_fit.xgb.Booster(model$fit)
11. └─tidypredict:::build_fit_formula_xgb(parsedmodel)
12. └─cli::cli_abort("Only objectives {.val binary:logistic}, {.val reg:squarederror},\n {.val reg:logistic}, {.val binary:logitraw} are supported yet.")
13. └─rlang::abort(...)
── Failure ('test-model-xgboost.R:65:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Expected `preds` to have names `c(".pred_0", ".pred_1")`.
Differences:
`actual`:
`expected`: ".pred_0" ".pred_1"
── Failure ('test-model-xgboost.R:66:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Expected `preds$.pred_0` to have type "double".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:67:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Expected `preds$.pred_1` to have type "double".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:74:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Expected `preds` to equal `exps`.
Differences:
`actual` is length 0
`expected` is length 2
`names(actual)`:
`names(expected)`: ".pred_0" ".pred_1"
`actual$.pred_0` is absent
`expected$.pred_0` is a double vector (0.536467909812927, 0.536467909812927, 0.100352562963963, 0.209237098693848, 0.94028639793396, ...)
`actual$.pred_1` is absent
`expected$.pred_1` is a double vector (0.463532090187073, 0.463532090187073, 0.899647437036037, 0.790762901306152, 0.05971360206604, ...)
── Error ('test-model-xgboost.R:90:3'): boost_tree(), objective = binary:logistic, works with type = prob ──
Error in `build_fit_formula_xgb(parsedmodel)`: Only objectives "binary:logistic", "reg:squarederror", "reg:logistic", "binary:logitraw" are supported yet.
Backtrace:
▆
1. ├─orbital::orbital(bt_fit, type = "prob") at test-model-xgboost.R:90:3
2. └─orbital:::orbital.model_fit(bt_fit, type = "prob")
3. ├─base::tryCatch(...)
4. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
7. ├─tidypredict::tidypredict_fit(x)
8. └─tidypredict:::tidypredict_fit._xgb.Booster(x)
9. ├─tidypredict::tidypredict_fit(model$fit)
10. └─tidypredict:::tidypredict_fit.xgb.Booster(model$fit)
11. └─tidypredict:::build_fit_formula_xgb(parsedmodel)
12. └─cli::cli_abort("Only objectives {.val binary:logistic}, {.val reg:squarederror},\n {.val reg:logistic}, {.val binary:logitraw} are supported yet.")
13. └─rlang::abort(...)
── Failure ('test-model-xgboost.R:131:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds` to have names `c(".pred_class", ".pred_0", ".pred_1")`.
Differences:
`actual`:
`expected`: ".pred_class" ".pred_0" ".pred_1"
── Failure ('test-model-xgboost.R:132:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds$.pred_class` to have type "character".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:133:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds$.pred_0` to have type "double".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:134:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds$.pred_1` to have type "double".
Actual type: "NULL"
── Failure ('test-model-xgboost.R:142:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Expected `preds` to equal `exps`.
Differences:
`actual` is length 0
`expected` is length 3
`names(actual)`:
`names(expected)`: ".pred_class" ".pred_0" ".pred_1"
`actual$.pred_class` is absent
`expected$.pred_class` is a character vector ('0', '0', '1', '1', '0', ...)
`actual$.pred_0` is absent
`expected$.pred_0` is a double vector (0.536467909812927, 0.536467909812927, 0.100352562963963, 0.209237098693848, 0.94028639793396, ...)
`actual$.pred_1` is absent
`expected$.pred_1` is a double vector (0.463532090187073, 0.463532090187073, 0.899647437036037, 0.790762901306152, 0.05971360206604, ...)
── Error ('test-model-xgboost.R:158:3'): boost_tree(), objective = binary:logistic, works with type = c(class, prob) ──
Error in `build_fit_formula_xgb(parsedmodel)`: Only objectives "binary:logistic", "reg:squarederror", "reg:logistic", "binary:logitraw" are supported yet.
Backtrace:
▆
1. ├─orbital::orbital(bt_fit, type = c("class", "prob")) at test-model-xgboost.R:158:3
2. └─orbital:::orbital.model_fit(bt_fit, type = c("class", "prob"))
3. ├─base::tryCatch(...)
4. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
7. ├─tidypredict::tidypredict_fit(x)
8. └─tidypredict:::tidypredict_fit._xgb.Booster(x)
9. ├─tidypredict::tidypredict_fit(model$fit)
10. └─tidypredict:::tidypredict_fit.xgb.Booster(model$fit)
11. └─tidypredict:::build_fit_formula_xgb(parsedmodel)
12. └─cli::cli_abort("Only objectives {.val binary:logistic}, {.val reg:squarederror},\n {.val reg:logistic}, {.val binary:logitraw} are supported yet.")
13. └─rlang::abort(...)
[ FAIL 15 | WARN 2 | SKIP 113 | PASS 370 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-macos-x86_64
Current CRAN status: ERROR: 5, OK: 8
Version: 1.0.2
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [10s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(rules)
Loading required package: parsnip
>
> test_check("rules")
Attaching package: 'modeldata'
The following object is masked from 'package:datasets':
penguins
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Saving _problems/test-rule-fit-regression-191.R
Saving _problems/test-rule-fit-regression-192.R
[ FAIL 2 | WARN 0 | SKIP 34 | PASS 27 ]
══ Skipped tests (34) ══════════════════════════════════════════════════════════
• On CRAN (34): 'test-c5.R:4:3', 'test-c5.R:43:3', 'test-c5.R:87:3',
'test-c5.R:127:3', 'test-c5.R:167:3', 'test-c5.R:213:3', 'test-c5.R:255:3',
'test-c5.R:282:3', 'test-c5.R:362:3', 'test-cubist.R:4:3',
'test-cubist.R:79:3', 'test-cubist.R:137:3', 'test-cubist.R:180:3',
'test-cubist.R:218:3', 'test-cubist.R:257:3', 'test-cubist.R:295:3',
'test-cubist.R:356:3', 'test-cubist.R:403:3', 'test-cubist.R:445:3',
'test-cubist.R:484:3', 'test-cubist.R:531:3', 'test-cubist.R:584:3',
'test-cubist.R:617:3', 'test-rule-fit-binomial.R:6:3',
'test-rule-fit-binomial.R:91:3', 'test-rule-fit-binomial.R:177:3',
'test-rule-fit-multinomial.R:6:3', 'test-rule-fit-multinomial.R:94:3',
'test-rule-fit-multinomial.R:181:3', 'test-rule-fit-regression.R:6:3',
'test-rule-fit-regression.R:62:3', 'test-rule-fit-regression.R:118:3',
'test-rule-fit-regression.R:160:1', 'test-rule-fit-regression.R:211:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-rule-fit-regression.R:191:3'): early stopping works in xrf_fit ──
Expected `!is.null(rf_fit_2$fit$xgb$best_iteration)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-rule-fit-regression.R:192:3'): early stopping works in xrf_fit ──
Expected `!is.null(rf_fit_3$fit$xgb$best_iteration)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
[ FAIL 2 | WARN 0 | SKIP 34 | PASS 27 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.2
Check: tests
Result: ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [14s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(rules)
Loading required package: parsnip
>
> test_check("rules")
Attaching package: 'modeldata'
The following object is masked from 'package:datasets':
penguins
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Saving _problems/test-rule-fit-regression-191.R
Saving _problems/test-rule-fit-regression-192.R
[ FAIL 2 | WARN 0 | SKIP 34 | PASS 27 ]
══ Skipped tests (34) ══════════════════════════════════════════════════════════
• On CRAN (34): 'test-c5.R:4:3', 'test-c5.R:43:3', 'test-c5.R:87:3',
'test-c5.R:127:3', 'test-c5.R:167:3', 'test-c5.R:213:3', 'test-c5.R:255:3',
'test-c5.R:282:3', 'test-c5.R:362:3', 'test-cubist.R:4:3',
'test-cubist.R:79:3', 'test-cubist.R:137:3', 'test-cubist.R:180:3',
'test-cubist.R:218:3', 'test-cubist.R:257:3', 'test-cubist.R:295:3',
'test-cubist.R:356:3', 'test-cubist.R:403:3', 'test-cubist.R:445:3',
'test-cubist.R:484:3', 'test-cubist.R:531:3', 'test-cubist.R:584:3',
'test-cubist.R:617:3', 'test-rule-fit-binomial.R:6:3',
'test-rule-fit-binomial.R:91:3', 'test-rule-fit-binomial.R:177:3',
'test-rule-fit-multinomial.R:6:3', 'test-rule-fit-multinomial.R:94:3',
'test-rule-fit-multinomial.R:181:3', 'test-rule-fit-regression.R:6:3',
'test-rule-fit-regression.R:62:3', 'test-rule-fit-regression.R:118:3',
'test-rule-fit-regression.R:160:1', 'test-rule-fit-regression.R:211:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-rule-fit-regression.R:191:3'): early stopping works in xrf_fit ──
Expected `!is.null(rf_fit_2$fit$xgb$best_iteration)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-rule-fit-regression.R:192:3'): early stopping works in xrf_fit ──
Expected `!is.null(rf_fit_3$fit$xgb$best_iteration)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
[ FAIL 2 | WARN 0 | SKIP 34 | PASS 27 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.0.2
Check: tests
Result: ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [12s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(rules)
Loading required package: parsnip
>
> test_check("rules")
Attaching package: 'modeldata'
The following object is masked from 'package:datasets':
penguins
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Saving _problems/test-rule-fit-regression-191.R
Saving _problems/test-rule-fit-regression-192.R
[ FAIL 2 | WARN 0 | SKIP 34 | PASS 27 ]
══ Skipped tests (34) ══════════════════════════════════════════════════════════
• On CRAN (34): 'test-c5.R:4:3', 'test-c5.R:43:3', 'test-c5.R:87:3',
'test-c5.R:127:3', 'test-c5.R:167:3', 'test-c5.R:213:3', 'test-c5.R:255:3',
'test-c5.R:282:3', 'test-c5.R:362:3', 'test-cubist.R:4:3',
'test-cubist.R:79:3', 'test-cubist.R:137:3', 'test-cubist.R:180:3',
'test-cubist.R:218:3', 'test-cubist.R:257:3', 'test-cubist.R:295:3',
'test-cubist.R:356:3', 'test-cubist.R:403:3', 'test-cubist.R:445:3',
'test-cubist.R:484:3', 'test-cubist.R:531:3', 'test-cubist.R:584:3',
'test-cubist.R:617:3', 'test-rule-fit-binomial.R:6:3',
'test-rule-fit-binomial.R:91:3', 'test-rule-fit-binomial.R:177:3',
'test-rule-fit-multinomial.R:6:3', 'test-rule-fit-multinomial.R:94:3',
'test-rule-fit-multinomial.R:181:3', 'test-rule-fit-regression.R:6:3',
'test-rule-fit-regression.R:62:3', 'test-rule-fit-regression.R:118:3',
'test-rule-fit-regression.R:160:1', 'test-rule-fit-regression.R:211:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-rule-fit-regression.R:191:3'): early stopping works in xrf_fit ──
Expected `!is.null(rf_fit_2$fit$xgb$best_iteration)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-rule-fit-regression.R:192:3'): early stopping works in xrf_fit ──
Expected `!is.null(rf_fit_3$fit$xgb$best_iteration)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
[ FAIL 2 | WARN 0 | SKIP 34 | PASS 27 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.0.2
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [15s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(rules)
Loading required package: parsnip
>
> test_check("rules")
Attaching package: 'modeldata'
The following object is masked from 'package:datasets':
penguins
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Saving _problems/test-rule-fit-regression-191.R
Saving _problems/test-rule-fit-regression-192.R
[ FAIL 2 | WARN 0 | SKIP 34 | PASS 27 ]
══ Skipped tests (34) ══════════════════════════════════════════════════════════
• On CRAN (34): 'test-c5.R:4:3', 'test-c5.R:43:3', 'test-c5.R:87:3',
'test-c5.R:127:3', 'test-c5.R:167:3', 'test-c5.R:213:3', 'test-c5.R:255:3',
'test-c5.R:282:3', 'test-c5.R:362:3', 'test-cubist.R:4:3',
'test-cubist.R:79:3', 'test-cubist.R:137:3', 'test-cubist.R:180:3',
'test-cubist.R:218:3', 'test-cubist.R:257:3', 'test-cubist.R:295:3',
'test-cubist.R:356:3', 'test-cubist.R:403:3', 'test-cubist.R:445:3',
'test-cubist.R:484:3', 'test-cubist.R:531:3', 'test-cubist.R:584:3',
'test-cubist.R:617:3', 'test-rule-fit-binomial.R:6:3',
'test-rule-fit-binomial.R:91:3', 'test-rule-fit-binomial.R:177:3',
'test-rule-fit-multinomial.R:6:3', 'test-rule-fit-multinomial.R:94:3',
'test-rule-fit-multinomial.R:181:3', 'test-rule-fit-regression.R:6:3',
'test-rule-fit-regression.R:62:3', 'test-rule-fit-regression.R:118:3',
'test-rule-fit-regression.R:160:1', 'test-rule-fit-regression.R:211:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-rule-fit-regression.R:191:3'): early stopping works in xrf_fit ──
Expected `!is.null(rf_fit_2$fit$xgb$best_iteration)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-rule-fit-regression.R:192:3'): early stopping works in xrf_fit ──
Expected `!is.null(rf_fit_3$fit$xgb$best_iteration)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
[ FAIL 2 | WARN 0 | SKIP 34 | PASS 27 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-linux-x86_64
Version: 1.0.2
Check: tests
Result: ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [17s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(rules)
Loading required package: parsnip
>
> test_check("rules")
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Saving _problems/test-rule-fit-regression-191.R
Saving _problems/test-rule-fit-regression-192.R
[ FAIL 2 | WARN 0 | SKIP 34 | PASS 27 ]
══ Skipped tests (34) ══════════════════════════════════════════════════════════
• On CRAN (34): 'test-c5.R:4:3', 'test-c5.R:43:3', 'test-c5.R:87:3',
'test-c5.R:127:3', 'test-c5.R:167:3', 'test-c5.R:213:3', 'test-c5.R:255:3',
'test-c5.R:282:3', 'test-c5.R:362:3', 'test-cubist.R:4:3',
'test-cubist.R:79:3', 'test-cubist.R:137:3', 'test-cubist.R:180:3',
'test-cubist.R:218:3', 'test-cubist.R:257:3', 'test-cubist.R:295:3',
'test-cubist.R:356:3', 'test-cubist.R:403:3', 'test-cubist.R:445:3',
'test-cubist.R:484:3', 'test-cubist.R:531:3', 'test-cubist.R:584:3',
'test-cubist.R:617:3', 'test-rule-fit-binomial.R:6:3',
'test-rule-fit-binomial.R:91:3', 'test-rule-fit-binomial.R:177:3',
'test-rule-fit-multinomial.R:6:3', 'test-rule-fit-multinomial.R:94:3',
'test-rule-fit-multinomial.R:181:3', 'test-rule-fit-regression.R:6:3',
'test-rule-fit-regression.R:62:3', 'test-rule-fit-regression.R:118:3',
'test-rule-fit-regression.R:160:1', 'test-rule-fit-regression.R:211:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-rule-fit-regression.R:191:3'): early stopping works in xrf_fit ──
Expected `!is.null(rf_fit_2$fit$xgb$best_iteration)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-rule-fit-regression.R:192:3'): early stopping works in xrf_fit ──
Expected `!is.null(rf_fit_3$fit$xgb$best_iteration)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
[ FAIL 2 | WARN 0 | SKIP 34 | PASS 27 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-windows-x86_64
Current CRAN status: ERROR: 5, OK: 8
Version: 0.3.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [23s/34s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(sparsevctrs)
>
> test_check("sparsevctrs")
Saving _problems/test-sparse_character-304.R
Saving _problems/test-sparse_replace_na-46.R
Saving _problems/test-sparse_replace_na-54.R
[ FAIL 3 | WARN 0 | SKIP 30 | PASS 785 ]
══ Skipped tests (30) ══════════════════════════════════════════════════════════
• On CRAN (30): 'test-coerce.R:286:1', 'test-coerce.R:312:1',
'test-coerce.R:345:1', 'test-coerce.R:413:1', 'test-coerce.R:425:1',
'test-coerce.R:436:1', 'test-coerce.R:487:1', 'test-coerce.R:500:1',
'test-coerce.R:511:1', 'test-sparse_character.R:1:1',
'test-sparse_character.R:241:1', 'test-sparse_character.R:279:1',
'test-sparse_character.R:307:1', 'test-sparse_double.R:1:1',
'test-sparse_double.R:259:1', 'test-sparse_double.R:306:1',
'test-sparse_double.R:407:1', 'test-sparse_double.R:445:1',
'test-sparse_double.R:473:1', 'test-sparse_dummy.R:241:1',
'test-sparse_integer.R:1:1', 'test-sparse_integer.R:263:1',
'test-sparse_integer.R:310:1', 'test-sparse_integer.R:412:1',
'test-sparse_integer.R:450:1', 'test-sparse_integer.R:478:1',
'test-sparse_logical.R:1:1', 'test-sparse_logical.R:260:1',
'test-sparse_logical.R:293:1', 'test-sparsity.R:110:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-sparse_character.R:299:3'): verbose testing ──────────────────
Expected `{ ... }` to throw a error.
Backtrace:
▆
1. └─testthat::expect_snapshot(...) at test-sparse_character.R:299:3
2. └─testthat:::expect_snapshot_(...)
── Failure ('test-sparse_replace_na.R:46:3'): sparse_replace() works - characters ──
Expected `res` to be identical to `exp`.
Differences:
`actual[1:4]`: "M" "A" "B" ""
`expected[1:4]`: NA "A" "B" ""
── Failure ('test-sparse_replace_na.R:54:3'): sparse_replace() works - characters ──
Expected `res` to be identical to `exp`.
Differences:
`actual[1:4]`: "0" "A" "B" ""
`expected[1:4]`: NA "A" "B" ""
[ FAIL 3 | WARN 0 | SKIP 30 | PASS 785 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.3.4
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: 0.3.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [14s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(sparsevctrs)
>
> test_check("sparsevctrs")
Saving _problems/test-sparse_character-304.R
Saving _problems/test-sparse_replace_na-46.R
Saving _problems/test-sparse_replace_na-54.R
[ FAIL 3 | WARN 0 | SKIP 30 | PASS 785 ]
══ Skipped tests (30) ══════════════════════════════════════════════════════════
• On CRAN (30): 'test-coerce.R:286:1', 'test-coerce.R:312:1',
'test-coerce.R:345:1', 'test-coerce.R:413:1', 'test-coerce.R:425:1',
'test-coerce.R:436:1', 'test-coerce.R:487:1', 'test-coerce.R:500:1',
'test-coerce.R:511:1', 'test-sparse_character.R:1:1',
'test-sparse_character.R:241:1', 'test-sparse_character.R:279:1',
'test-sparse_character.R:307:1', 'test-sparse_double.R:1:1',
'test-sparse_double.R:259:1', 'test-sparse_double.R:306:1',
'test-sparse_double.R:407:1', 'test-sparse_double.R:445:1',
'test-sparse_double.R:473:1', 'test-sparse_dummy.R:241:1',
'test-sparse_integer.R:1:1', 'test-sparse_integer.R:263:1',
'test-sparse_integer.R:310:1', 'test-sparse_integer.R:412:1',
'test-sparse_integer.R:450:1', 'test-sparse_integer.R:478:1',
'test-sparse_logical.R:1:1', 'test-sparse_logical.R:260:1',
'test-sparse_logical.R:293:1', 'test-sparsity.R:110:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-sparse_character.R:299:3'): verbose testing ──────────────────
Expected `{ ... }` to throw a error.
Backtrace:
▆
1. └─testthat::expect_snapshot(...) at test-sparse_character.R:299:3
2. └─testthat:::expect_snapshot_(...)
── Failure ('test-sparse_replace_na.R:46:3'): sparse_replace() works - characters ──
Expected `res` to be identical to `exp`.
Differences:
`actual[1:4]`: "M" "A" "B" ""
`expected[1:4]`: NA "A" "B" ""
── Failure ('test-sparse_replace_na.R:54:3'): sparse_replace() works - characters ──
Expected `res` to be identical to `exp`.
Differences:
`actual[1:4]`: "0" "A" "B" ""
`expected[1:4]`: NA "A" "B" ""
[ FAIL 3 | WARN 0 | SKIP 30 | PASS 785 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.3.4
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.3.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [36s/59s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(sparsevctrs)
>
> test_check("sparsevctrs")
Saving _problems/test-sparse_character-304.R
Saving _problems/test-sparse_replace_na-46.R
Saving _problems/test-sparse_replace_na-54.R
[ FAIL 3 | WARN 0 | SKIP 30 | PASS 785 ]
══ Skipped tests (30) ══════════════════════════════════════════════════════════
• On CRAN (30): 'test-coerce.R:286:1', 'test-coerce.R:312:1',
'test-coerce.R:345:1', 'test-coerce.R:413:1', 'test-coerce.R:425:1',
'test-coerce.R:436:1', 'test-coerce.R:487:1', 'test-coerce.R:500:1',
'test-coerce.R:511:1', 'test-sparse_character.R:1:1',
'test-sparse_character.R:241:1', 'test-sparse_character.R:279:1',
'test-sparse_character.R:307:1', 'test-sparse_double.R:1:1',
'test-sparse_double.R:259:1', 'test-sparse_double.R:306:1',
'test-sparse_double.R:407:1', 'test-sparse_double.R:445:1',
'test-sparse_double.R:473:1', 'test-sparse_dummy.R:241:1',
'test-sparse_integer.R:1:1', 'test-sparse_integer.R:263:1',
'test-sparse_integer.R:310:1', 'test-sparse_integer.R:412:1',
'test-sparse_integer.R:450:1', 'test-sparse_integer.R:478:1',
'test-sparse_logical.R:1:1', 'test-sparse_logical.R:260:1',
'test-sparse_logical.R:293:1', 'test-sparsity.R:110:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-sparse_character.R:299:3'): verbose testing ──────────────────
Expected `{ ... }` to throw a error.
Backtrace:
▆
1. └─testthat::expect_snapshot(...) at test-sparse_character.R:299:3
2. └─testthat:::expect_snapshot_(...)
── Failure ('test-sparse_replace_na.R:46:3'): sparse_replace() works - characters ──
Expected `res` to be identical to `exp`.
Differences:
`actual[1:4]`: "M" "A" "B" ""
`expected[1:4]`: NA "A" "B" ""
── Failure ('test-sparse_replace_na.R:54:3'): sparse_replace() works - characters ──
Expected `res` to be identical to `exp`.
Differences:
`actual[1:4]`: "0" "A" "B" ""
`expected[1:4]`: NA "A" "B" ""
[ FAIL 3 | WARN 0 | SKIP 30 | PASS 785 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.3.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [34s/41s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(sparsevctrs)
>
> test_check("sparsevctrs")
Saving _problems/test-sparse_character-304.R
Saving _problems/test-sparse_replace_na-46.R
Saving _problems/test-sparse_replace_na-54.R
[ FAIL 3 | WARN 0 | SKIP 30 | PASS 785 ]
══ Skipped tests (30) ══════════════════════════════════════════════════════════
• On CRAN (30): 'test-coerce.R:286:1', 'test-coerce.R:312:1',
'test-coerce.R:345:1', 'test-coerce.R:413:1', 'test-coerce.R:425:1',
'test-coerce.R:436:1', 'test-coerce.R:487:1', 'test-coerce.R:500:1',
'test-coerce.R:511:1', 'test-sparse_character.R:1:1',
'test-sparse_character.R:241:1', 'test-sparse_character.R:279:1',
'test-sparse_character.R:307:1', 'test-sparse_double.R:1:1',
'test-sparse_double.R:259:1', 'test-sparse_double.R:306:1',
'test-sparse_double.R:407:1', 'test-sparse_double.R:445:1',
'test-sparse_double.R:473:1', 'test-sparse_dummy.R:241:1',
'test-sparse_integer.R:1:1', 'test-sparse_integer.R:263:1',
'test-sparse_integer.R:310:1', 'test-sparse_integer.R:412:1',
'test-sparse_integer.R:450:1', 'test-sparse_integer.R:478:1',
'test-sparse_logical.R:1:1', 'test-sparse_logical.R:260:1',
'test-sparse_logical.R:293:1', 'test-sparsity.R:110:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-sparse_character.R:299:3'): verbose testing ──────────────────
Expected `{ ... }` to throw a error.
Backtrace:
▆
1. └─testthat::expect_snapshot(...) at test-sparse_character.R:299:3
2. └─testthat:::expect_snapshot_(...)
── Failure ('test-sparse_replace_na.R:46:3'): sparse_replace() works - characters ──
Expected `res` to be identical to `exp`.
Differences:
`actual[1:4]`: "M" "A" "B" ""
`expected[1:4]`: NA "A" "B" ""
── Failure ('test-sparse_replace_na.R:54:3'): sparse_replace() works - characters ──
Expected `res` to be identical to `exp`.
Differences:
`actual[1:4]`: "0" "A" "B" ""
`expected[1:4]`: NA "A" "B" ""
[ FAIL 3 | WARN 0 | SKIP 30 | PASS 785 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.3.4
Check: tests
Result: ERROR
Running 'testthat.R' [19s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(sparsevctrs)
>
> test_check("sparsevctrs")
Saving _problems/test-sparse_character-304.R
Saving _problems/test-sparse_replace_na-46.R
Saving _problems/test-sparse_replace_na-54.R
[ FAIL 3 | WARN 0 | SKIP 30 | PASS 785 ]
══ Skipped tests (30) ══════════════════════════════════════════════════════════
• On CRAN (30): 'test-coerce.R:286:1', 'test-coerce.R:312:1',
'test-coerce.R:345:1', 'test-coerce.R:413:1', 'test-coerce.R:425:1',
'test-coerce.R:436:1', 'test-coerce.R:487:1', 'test-coerce.R:500:1',
'test-coerce.R:511:1', 'test-sparse_character.R:1:1',
'test-sparse_character.R:241:1', 'test-sparse_character.R:279:1',
'test-sparse_character.R:307:1', 'test-sparse_double.R:1:1',
'test-sparse_double.R:259:1', 'test-sparse_double.R:306:1',
'test-sparse_double.R:407:1', 'test-sparse_double.R:445:1',
'test-sparse_double.R:473:1', 'test-sparse_dummy.R:241:1',
'test-sparse_integer.R:1:1', 'test-sparse_integer.R:263:1',
'test-sparse_integer.R:310:1', 'test-sparse_integer.R:412:1',
'test-sparse_integer.R:450:1', 'test-sparse_integer.R:478:1',
'test-sparse_logical.R:1:1', 'test-sparse_logical.R:260:1',
'test-sparse_logical.R:293:1', 'test-sparsity.R:110:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-sparse_character.R:299:3'): verbose testing ──────────────────
Expected `{ ... }` to throw a error.
Backtrace:
▆
1. └─testthat::expect_snapshot(...) at test-sparse_character.R:299:3
2. └─testthat:::expect_snapshot_(...)
── Failure ('test-sparse_replace_na.R:46:3'): sparse_replace() works - characters ──
Expected `res` to be identical to `exp`.
Differences:
`actual[1:4]`: "M" "A" "B" ""
`expected[1:4]`: NA "A" "B" ""
── Failure ('test-sparse_replace_na.R:54:3'): sparse_replace() works - characters ──
Expected `res` to be identical to `exp`.
Differences:
`actual[1:4]`: "0" "A" "B" ""
`expected[1:4]`: NA "A" "B" ""
[ FAIL 3 | WARN 0 | SKIP 30 | PASS 785 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-windows-x86_64
Current CRAN status: WARN: 1, OK: 12
Version: 1.1.0
Check: package dependencies
Result: WARN
Cannot process vignettes
Packages suggested but not available for checking:
'covr', 'knitr', 'rmarkdown'
VignetteBuilder package required for checking but not installed: ‘knitr’
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.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
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, OK: 12
Version: 1.0.0
Check: package dependencies
Result: ERROR
Package required but not available: ‘knitr’
Packages suggested but not available for checking:
'covr', 'rmarkdown', 'yaml'
VignetteBuilder package required for checking but not installed: ‘knitr’
See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: WARN: 1, OK: 12
Version: 1.3.2
Check: package dependencies
Result: WARN
Cannot process vignettes
Packages suggested but not available for checking:
'covr', 'knitr', 'rmarkdown'
VignetteBuilder package required for checking but not installed: ‘knitr’
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.3.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