Last updated on 2025-12-07 09:49:33 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 2.3.0 | 5.79 | 339.54 | 345.33 | NOTE | |
| r-devel-linux-x86_64-debian-gcc | 2.3.0 | 5.40 | 233.14 | 238.54 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 2.3.0 | 25.00 | 510.97 | 535.97 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 2.3.0 | 29.00 | 491.80 | 520.80 | ERROR | |
| r-devel-windows-x86_64 | 2.3.0 | 13.00 | 458.00 | 471.00 | OK | |
| r-patched-linux-x86_64 | 2.3.0 | 6.29 | 330.05 | 336.34 | OK | |
| r-release-linux-x86_64 | 2.3.0 | 6.85 | 308.29 | 315.14 | ERROR | |
| r-release-macos-arm64 | 2.3.0 | OK | ||||
| r-release-macos-x86_64 | 2.3.0 | 7.00 | 262.00 | 269.00 | OK | |
| r-release-windows-x86_64 | 2.3.0 | 14.00 | 454.00 | 468.00 | OK | |
| r-oldrel-macos-arm64 | 2.3.0 | OK | ||||
| r-oldrel-macos-x86_64 | 2.3.0 | 5.00 | 198.00 | 203.00 | OK | |
| r-oldrel-windows-x86_64 | 2.3.0 | 15.00 | 589.00 | 604.00 | ERROR |
Version: 2.3.0
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Szymon Maksymiuk <sz.maksymiuk@gmail.com>’
The Description field contains
'DALEXtra' creates 'DALEX' Biecek (2018) <arXiv:1806.08915> explainer
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 2.3.0
Check: examples
Result: ERROR
Running examples in ‘DALEXtra-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: explain_xgboost
> ### Title: Create explainer from your xgboost model
> ### Aliases: explain_xgboost
>
> ### ** Examples
>
> library("xgboost")
> library("DALEXtra")
> library("mlr")
Loading required package: ParamHelpers
> # 8th column is target that has to be omitted in X data
> data <- as.matrix(createDummyFeatures(titanic_imputed[,-8]))
> model <- xgboost(data, titanic_imputed$survived, nrounds = 10,
+ params = list(objective = "binary:logistic"),
+ prediction = TRUE)
Warning in throw_err_or_depr_msg("Parameter(s) have been removed from this function: ", :
Parameter(s) have been removed from this function: params. This warning will become an error in a future version.
Warning in throw_err_or_depr_msg("Passed unrecognized parameters: ", paste(head(names_unrecognized), :
Passed unrecognized parameters: prediction. This warning will become an error in a future version.
> # explainer with encode functiom
> explainer_1 <- explain_xgboost(model, data = titanic_imputed[,-8],
+ titanic_imputed$survived,
+ encode_function = function(data) {
+ as.matrix(createDummyFeatures(data))
+ })
Preparation of a new explainer is initiated
-> model label : xgb.Booster ( <1b>[33m default <1b>[39m )
-> data : 2207 rows 7 cols
-> target variable : 2207 values
-> predict function : yhat.xgb.Booster will be used ( <1b>[33m default <1b>[39m )
-> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m )
Error in strsplit(model$params$objective, ":", fixed = TRUE) :
non-character argument
Calls: explain_xgboost ... explain -> model_info -> model_info.xgb.Booster -> strsplit
Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-release-linux-x86_64
Version: 2.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [183s/234s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(DALEXtra)
Loading required package: DALEX
Welcome to DALEX (version: 2.5.3).
Find examples and detailed introduction at: http://ema.drwhy.ai/
Additional features will be available after installation of: ggpubr.
Use 'install_dependencies()' to get all suggested dependencies
>
> test_check("DALEXtra")
Preparation of a new explainer is initiated
-> model label : LM
-> data : 9000 rows 6 cols
-> target variable : 9000 values
-> predict function : yhat.WrappedModel will be used ( <1b>[33m default <1b>[39m )
-> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m )
-> model_info : package mlr , ver. 2.19.3 , task regression ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 1792.597 , mean = 3506.836 , max = 6241.447
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -257.2555 , mean = 4.687686 , max = 472.356
<1b>[32m A new explainer has been created! <1b>[39m
Preparation of a new explainer is initiated
-> model label : RF
-> data : 9000 rows 6 cols
-> target variable : 9000 values
-> predict function : yhat.WrappedModel will be used ( <1b>[33m default <1b>[39m )
-> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m )
-> model_info : package mlr , ver. 2.19.3 , task regression ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 1799.755 , mean = 3504.919 , max = 6257.174
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -566.941 , mean = 6.604183 , max = 767.8196
<1b>[32m A new explainer has been created! <1b>[39m
Preparation of a new explainer is initiated
-> model label : GBM
-> data : 9000 rows 6 cols
-> target variable : 9000 values
-> predict function : yhat.WrappedModel will be used ( <1b>[33m default <1b>[39m )
-> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m )
-> model_info : package mlr , ver. 2.19.3 , task regression ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 2107.248 , mean = 3502.986 , max = 6055.355
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -504.2477 , mean = 8.537596 , max = 810.8575
<1b>[32m A new explainer has been created! <1b>[39m
additional arguments ignored in warning()
Preparation of a new explainer is initiated
-> model label : ranger ( <1b>[33m default <1b>[39m )
-> data : 2207 rows 7 cols
-> target variable : 2207 values
-> predict function : yhat.ranger will be used ( <1b>[33m default <1b>[39m )
-> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m )
-> model_info : package ranger , ver. 0.17.0 , task classification ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 0.01187476 , mean = 0.3219883 , max = 0.9926535
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -0.776841 , mean = 0.0001684288 , max = 0.8842088
<1b>[32m A new explainer has been created! <1b>[39m
additional arguments ignored in warning()
Saving _problems/test_xgboost_explain-13.R
Saving _problems/test_xgboost_explain-31.R
Saving _problems/test_xgboost_explain-50.R
[ FAIL 3 | WARN 15 | SKIP 11 | PASS 44 ]
══ Skipped tests (11) ══════════════════════════════════════════════════════════
• Conda test env needed for tests (6): 'test_create_env.R:6:3',
'test_create_env.R:27:3', 'test_create_env.R:40:3',
'test_keras_explain.R:6:2', 'test_scikitlearn_explain.R:6:3',
'tests_prints.R:8:3'
• JAVA entry needed for tests (4): 'test_h2o_explain.R:8:3',
'test_h2o_explain.R:33:3', 'test_h2o_explain.R:56:3',
'test_h2o_explain.R:90:3'
• Test with windows (1): 'test_champion_challenger.R:5:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_xgboost_explain.R:11:3'): creating explainer classif ───────────
Error in `strsplit(model$params$objective, ":", fixed = TRUE)`: non-character argument
Backtrace:
▆
1. └─DALEXtra::explain_xgboost(...) at test_xgboost_explain.R:11:3
2. └─DALEX::explain(...)
3. ├─DALEX::model_info(model, is_multiclass = task_subtype)
4. └─DALEXtra:::model_info.xgb.Booster(model, is_multiclass = task_subtype)
5. └─base::strsplit(model$params$objective, ":", fixed = TRUE)
── Error ('test_xgboost_explain.R:29:3'): creating explainer regr ──────────────
Error in `strsplit(model$params$objective, ":", fixed = TRUE)`: non-character argument
Backtrace:
▆
1. └─DALEXtra::explain_xgboost(...) at test_xgboost_explain.R:29:3
2. └─DALEX::explain(...)
3. ├─DALEX::model_info(model, is_multiclass = task_subtype)
4. └─DALEXtra:::model_info.xgb.Booster(model, is_multiclass = task_subtype)
5. └─base::strsplit(model$params$objective, ":", fixed = TRUE)
── Error ('test_xgboost_explain.R:48:3'): creating explainer multi ─────────────
Error in `strsplit(model$params$objective, ":", fixed = TRUE)`: non-character argument
Backtrace:
▆
1. └─DALEXtra::explain_xgboost(...) at test_xgboost_explain.R:48:3
2. └─DALEX::explain(...)
3. ├─DALEX::model_info(model, is_multiclass = task_subtype)
4. └─DALEXtra:::model_info.xgb.Booster(model, is_multiclass = task_subtype)
5. └─base::strsplit(model$params$objective, ":", fixed = TRUE)
[ FAIL 3 | WARN 15 | SKIP 11 | PASS 44 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 2.3.0
Check: examples
Result: ERROR
Running examples in ‘DALEXtra-Ex.R’ failed
The error most likely occurred in:
> ### Name: explain_xgboost
> ### Title: Create explainer from your xgboost model
> ### Aliases: explain_xgboost
>
> ### ** Examples
>
> library("xgboost")
> library("DALEXtra")
> library("mlr")
Loading required package: ParamHelpers
> # 8th column is target that has to be omitted in X data
> data <- as.matrix(createDummyFeatures(titanic_imputed[,-8]))
> model <- xgboost(data, titanic_imputed$survived, nrounds = 10,
+ params = list(objective = "binary:logistic"),
+ prediction = TRUE)
Warning in throw_err_or_depr_msg("Parameter(s) have been removed from this function: ", :
Parameter(s) have been removed from this function: params. This warning will become an error in a future version.
Warning in throw_err_or_depr_msg("Passed unrecognized parameters: ", paste(head(names_unrecognized), :
Passed unrecognized parameters: prediction. This warning will become an error in a future version.
> # explainer with encode functiom
> explainer_1 <- explain_xgboost(model, data = titanic_imputed[,-8],
+ titanic_imputed$survived,
+ encode_function = function(data) {
+ as.matrix(createDummyFeatures(data))
+ })
Preparation of a new explainer is initiated
-> model label : xgb.Booster ( <1b>[33m default <1b>[39m )
-> data : 2207 rows 7 cols
-> target variable : 2207 values
-> predict function : yhat.xgb.Booster will be used ( <1b>[33m default <1b>[39m )
-> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m )
Error in strsplit(model$params$objective, ":", fixed = TRUE) :
non-character argument
Calls: explain_xgboost ... explain -> model_info -> model_info.xgb.Booster -> strsplit
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-windows-x86_64
Version: 2.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [7m/16m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(DALEXtra)
Loading required package: DALEX
Welcome to DALEX (version: 2.5.3).
Find examples and detailed introduction at: http://ema.drwhy.ai/
Additional features will be available after installation of: ggpubr.
Use 'install_dependencies()' to get all suggested dependencies
>
> test_check("DALEXtra")
Preparation of a new explainer is initiated
-> model label : LM
-> data : 9000 rows 6 cols
-> target variable : 9000 values
-> predict function : yhat.WrappedModel will be used ( <1b>[33m default <1b>[39m )
-> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m )
-> model_info : package mlr , ver. 2.19.3 , task regression ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 1792.597 , mean = 3506.836 , max = 6241.447
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -257.2555 , mean = 4.687686 , max = 472.356
<1b>[32m A new explainer has been created! <1b>[39m
Preparation of a new explainer is initiated
-> model label : RF
-> data : 9000 rows 6 cols
-> target variable : 9000 values
-> predict function : yhat.WrappedModel will be used ( <1b>[33m default <1b>[39m )
-> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m )
-> model_info : package mlr , ver. 2.19.3 , task regression ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 1788.993 , mean = 3506.057 , max = 6261.6
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -537.2559 , mean = 5.46635 , max = 751.9182
<1b>[32m A new explainer has been created! <1b>[39m
Preparation of a new explainer is initiated
-> model label : GBM
-> data : 9000 rows 6 cols
-> target variable : 9000 values
-> predict function : yhat.WrappedModel will be used ( <1b>[33m default <1b>[39m )
-> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m )
-> model_info : package mlr , ver. 2.19.3 , task regression ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 2123.654 , mean = 3503.963 , max = 6061.297
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -520.6545 , mean = 7.560756 , max = 788.2442
<1b>[32m A new explainer has been created! <1b>[39m
additional arguments ignored in warning()
Preparation of a new explainer is initiated
-> model label : ranger ( <1b>[33m default <1b>[39m )
-> data : 2207 rows 7 cols
-> target variable : 2207 values
-> predict function : yhat.ranger will be used ( <1b>[33m default <1b>[39m )
-> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m )
-> model_info : package ranger , ver. 0.17.0 , task classification ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 0.0132874 , mean = 0.322722 , max = 0.9924419
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -0.7705845 , mean = -0.0005651812 , max = 0.8768254
<1b>[32m A new explainer has been created! <1b>[39m
additional arguments ignored in warning()
Saving _problems/test_xgboost_explain-13.R
Saving _problems/test_xgboost_explain-31.R
Saving _problems/test_xgboost_explain-50.R
[ FAIL 3 | WARN 15 | SKIP 11 | PASS 44 ]
══ Skipped tests (11) ══════════════════════════════════════════════════════════
• Conda test env needed for tests (6): 'test_create_env.R:6:3',
'test_create_env.R:27:3', 'test_create_env.R:40:3',
'test_keras_explain.R:6:2', 'test_scikitlearn_explain.R:6:3',
'tests_prints.R:8:3'
• JAVA entry needed for tests (4): 'test_h2o_explain.R:8:3',
'test_h2o_explain.R:33:3', 'test_h2o_explain.R:56:3',
'test_h2o_explain.R:90:3'
• Test with windows (1): 'test_champion_challenger.R:5:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_xgboost_explain.R:11:3'): creating explainer classif ───────────
Error in `strsplit(model$params$objective, ":", fixed = TRUE)`: non-character argument
Backtrace:
▆
1. └─DALEXtra::explain_xgboost(...) at test_xgboost_explain.R:11:3
2. └─DALEX::explain(...)
3. ├─DALEX::model_info(model, is_multiclass = task_subtype)
4. └─DALEXtra:::model_info.xgb.Booster(model, is_multiclass = task_subtype)
5. └─base::strsplit(model$params$objective, ":", fixed = TRUE)
── Error ('test_xgboost_explain.R:29:3'): creating explainer regr ──────────────
Error in `strsplit(model$params$objective, ":", fixed = TRUE)`: non-character argument
Backtrace:
▆
1. └─DALEXtra::explain_xgboost(...) at test_xgboost_explain.R:29:3
2. └─DALEX::explain(...)
3. ├─DALEX::model_info(model, is_multiclass = task_subtype)
4. └─DALEXtra:::model_info.xgb.Booster(model, is_multiclass = task_subtype)
5. └─base::strsplit(model$params$objective, ":", fixed = TRUE)
── Error ('test_xgboost_explain.R:48:3'): creating explainer multi ─────────────
Error in `strsplit(model$params$objective, ":", fixed = TRUE)`: non-character argument
Backtrace:
▆
1. └─DALEXtra::explain_xgboost(...) at test_xgboost_explain.R:48:3
2. └─DALEX::explain(...)
3. ├─DALEX::model_info(model, is_multiclass = task_subtype)
4. └─DALEXtra:::model_info.xgb.Booster(model, is_multiclass = task_subtype)
5. └─base::strsplit(model$params$objective, ":", fixed = TRUE)
[ FAIL 3 | WARN 15 | SKIP 11 | PASS 44 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 2.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [7m/18m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(DALEXtra)
Loading required package: DALEX
Welcome to DALEX (version: 2.5.3).
Find examples and detailed introduction at: http://ema.drwhy.ai/
>
> test_check("DALEXtra")
Preparation of a new explainer is initiated
-> model label : LM
-> data : 9000 rows 6 cols
-> target variable : 9000 values
-> predict function : yhat.WrappedModel will be used ( <1b>[33m default <1b>[39m )
-> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m )
-> model_info : package mlr , ver. 2.19.3 , task regression ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 1792.597 , mean = 3506.836 , max = 6241.447
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -257.2555 , mean = 4.687686 , max = 472.356
<1b>[32m A new explainer has been created! <1b>[39m
Preparation of a new explainer is initiated
-> model label : RF
-> data : 9000 rows 6 cols
-> target variable : 9000 values
-> predict function : yhat.WrappedModel will be used ( <1b>[33m default <1b>[39m )
-> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m )
-> model_info : package mlr , ver. 2.19.3 , task regression ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 1801.768 , mean = 3505.534 , max = 6275.689
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -539.7904 , mean = 5.989792 , max = 751.6682
<1b>[32m A new explainer has been created! <1b>[39m
Preparation of a new explainer is initiated
-> model label : GBM
-> data : 9000 rows 6 cols
-> target variable : 9000 values
-> predict function : yhat.WrappedModel will be used ( <1b>[33m default <1b>[39m )
-> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m )
-> model_info : package mlr , ver. 2.19.3 , task regression ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 2123.907 , mean = 3505.159 , max = 6043.394
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -520.9072 , mean = 6.364244 , max = 751.9403
<1b>[32m A new explainer has been created! <1b>[39m
additional arguments ignored in warning()
Preparation of a new explainer is initiated
-> model label : ranger ( <1b>[33m default <1b>[39m )
-> data : 2207 rows 7 cols
-> target variable : 2207 values
-> predict function : yhat.ranger will be used ( <1b>[33m default <1b>[39m )
-> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m )
-> model_info : package ranger , ver. 0.17.0 , task classification ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 0.01119389 , mean = 0.3219998 , max = 0.9946239
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -0.7851484 , mean = 0.0001569756 , max = 0.8801872
<1b>[32m A new explainer has been created! <1b>[39m
additional arguments ignored in warning()
Saving _problems/test_xgboost_explain-13.R
Saving _problems/test_xgboost_explain-31.R
Saving _problems/test_xgboost_explain-50.R
[ FAIL 3 | WARN 15 | SKIP 11 | PASS 44 ]
══ Skipped tests (11) ══════════════════════════════════════════════════════════
• Conda test env needed for tests (6): 'test_create_env.R:6:3',
'test_create_env.R:27:3', 'test_create_env.R:40:3',
'test_keras_explain.R:6:2', 'test_scikitlearn_explain.R:6:3',
'tests_prints.R:8:3'
• JAVA entry needed for tests (4): 'test_h2o_explain.R:8:3',
'test_h2o_explain.R:33:3', 'test_h2o_explain.R:56:3',
'test_h2o_explain.R:90:3'
• Test with windows (1): 'test_champion_challenger.R:5:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_xgboost_explain.R:11:3'): creating explainer classif ───────────
Error in `strsplit(model$params$objective, ":", fixed = TRUE)`: non-character argument
Backtrace:
▆
1. └─DALEXtra::explain_xgboost(...) at test_xgboost_explain.R:11:3
2. └─DALEX::explain(...)
3. ├─DALEX::model_info(model, is_multiclass = task_subtype)
4. └─DALEXtra:::model_info.xgb.Booster(model, is_multiclass = task_subtype)
5. └─base::strsplit(model$params$objective, ":", fixed = TRUE)
── Error ('test_xgboost_explain.R:29:3'): creating explainer regr ──────────────
Error in `strsplit(model$params$objective, ":", fixed = TRUE)`: non-character argument
Backtrace:
▆
1. └─DALEXtra::explain_xgboost(...) at test_xgboost_explain.R:29:3
2. └─DALEX::explain(...)
3. ├─DALEX::model_info(model, is_multiclass = task_subtype)
4. └─DALEXtra:::model_info.xgb.Booster(model, is_multiclass = task_subtype)
5. └─base::strsplit(model$params$objective, ":", fixed = TRUE)
── Error ('test_xgboost_explain.R:48:3'): creating explainer multi ─────────────
Error in `strsplit(model$params$objective, ":", fixed = TRUE)`: non-character argument
Backtrace:
▆
1. └─DALEXtra::explain_xgboost(...) at test_xgboost_explain.R:48:3
2. └─DALEX::explain(...)
3. ├─DALEX::model_info(model, is_multiclass = task_subtype)
4. └─DALEXtra:::model_info.xgb.Booster(model, is_multiclass = task_subtype)
5. └─base::strsplit(model$params$objective, ":", fixed = TRUE)
[ FAIL 3 | WARN 15 | SKIP 11 | PASS 44 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 2.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [247s/296s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(DALEXtra)
Loading required package: DALEX
Welcome to DALEX (version: 2.5.3).
Find examples and detailed introduction at: http://ema.drwhy.ai/
Additional features will be available after installation of: ggpubr.
Use 'install_dependencies()' to get all suggested dependencies
>
> test_check("DALEXtra")
Preparation of a new explainer is initiated
-> model label : LM
-> data : 9000 rows 6 cols
-> target variable : 9000 values
-> predict function : yhat.WrappedModel will be used ( <1b>[33m default <1b>[39m )
-> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m )
-> model_info : package mlr , ver. 2.19.3 , task regression ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 1792.597 , mean = 3506.836 , max = 6241.447
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -257.2555 , mean = 4.687686 , max = 472.356
<1b>[32m A new explainer has been created! <1b>[39m
Preparation of a new explainer is initiated
-> model label : RF
-> data : 9000 rows 6 cols
-> target variable : 9000 values
-> predict function : yhat.WrappedModel will be used ( <1b>[33m default <1b>[39m )
-> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m )
-> model_info : package mlr , ver. 2.19.3 , task regression ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 1795.516 , mean = 3505.045 , max = 6280.497
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -572.1227 , mean = 6.478534 , max = 739.912
<1b>[32m A new explainer has been created! <1b>[39m
Preparation of a new explainer is initiated
-> model label : GBM
-> data : 9000 rows 6 cols
-> target variable : 9000 values
-> predict function : yhat.WrappedModel will be used ( <1b>[33m default <1b>[39m )
-> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m )
-> model_info : package mlr , ver. 2.19.3 , task regression ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 2113.002 , mean = 3505.356 , max = 6049.17
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -525.2837 , mean = 6.167692 , max = 682.9072
<1b>[32m A new explainer has been created! <1b>[39m
additional arguments ignored in warning()
Preparation of a new explainer is initiated
-> model label : ranger ( <1b>[33m default <1b>[39m )
-> data : 2207 rows 7 cols
-> target variable : 2207 values
-> predict function : yhat.ranger will be used ( <1b>[33m default <1b>[39m )
-> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m )
-> model_info : package ranger , ver. 0.17.0 , task classification ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 0.01074544 , mean = 0.3224194 , max = 0.9879854
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -0.7920763 , mean = -0.00026265 , max = 0.8826774
<1b>[32m A new explainer has been created! <1b>[39m
additional arguments ignored in warning()
Saving _problems/test_xgboost_explain-13.R
Saving _problems/test_xgboost_explain-31.R
Saving _problems/test_xgboost_explain-50.R
[ FAIL 3 | WARN 15 | SKIP 11 | PASS 44 ]
══ Skipped tests (11) ══════════════════════════════════════════════════════════
• Conda test env needed for tests (6): 'test_create_env.R:6:3',
'test_create_env.R:27:3', 'test_create_env.R:40:3',
'test_keras_explain.R:6:2', 'test_scikitlearn_explain.R:6:3',
'tests_prints.R:8:3'
• JAVA entry needed for tests (4): 'test_h2o_explain.R:8:3',
'test_h2o_explain.R:33:3', 'test_h2o_explain.R:56:3',
'test_h2o_explain.R:90:3'
• Test with windows (1): 'test_champion_challenger.R:5:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_xgboost_explain.R:11:3'): creating explainer classif ───────────
Error in `strsplit(model$params$objective, ":", fixed = TRUE)`: non-character argument
Backtrace:
▆
1. └─DALEXtra::explain_xgboost(...) at test_xgboost_explain.R:11:3
2. └─DALEX::explain(...)
3. ├─DALEX::model_info(model, is_multiclass = task_subtype)
4. └─DALEXtra:::model_info.xgb.Booster(model, is_multiclass = task_subtype)
5. └─base::strsplit(model$params$objective, ":", fixed = TRUE)
── Error ('test_xgboost_explain.R:29:3'): creating explainer regr ──────────────
Error in `strsplit(model$params$objective, ":", fixed = TRUE)`: non-character argument
Backtrace:
▆
1. └─DALEXtra::explain_xgboost(...) at test_xgboost_explain.R:29:3
2. └─DALEX::explain(...)
3. ├─DALEX::model_info(model, is_multiclass = task_subtype)
4. └─DALEXtra:::model_info.xgb.Booster(model, is_multiclass = task_subtype)
5. └─base::strsplit(model$params$objective, ":", fixed = TRUE)
── Error ('test_xgboost_explain.R:48:3'): creating explainer multi ─────────────
Error in `strsplit(model$params$objective, ":", fixed = TRUE)`: non-character argument
Backtrace:
▆
1. └─DALEXtra::explain_xgboost(...) at test_xgboost_explain.R:48:3
2. └─DALEX::explain(...)
3. ├─DALEX::model_info(model, is_multiclass = task_subtype)
4. └─DALEXtra:::model_info.xgb.Booster(model, is_multiclass = task_subtype)
5. └─base::strsplit(model$params$objective, ":", fixed = TRUE)
[ FAIL 3 | WARN 15 | SKIP 11 | PASS 44 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-linux-x86_64
Version: 2.3.0
Check: tests
Result: ERROR
Running 'testthat.R' [481s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(DALEXtra)
Loading required package: DALEX
Welcome to DALEX (version: 2.5.3).
Find examples and detailed introduction at: http://ema.drwhy.ai/
Additional features will be available after installation of: ggpubr.
Use 'install_dependencies()' to get all suggested dependencies
>
> test_check("DALEXtra")
|
| | 0%
|
|============ | 17%
|
|======================= | 33%
|
|=================================== | 50%
|
|=============================================== | 67%
|
|========================================================== | 83%
|
|======================================================================| 100%Preparation of a new explainer is initiated
-> model label : LM
-> data : 9000 rows 6 cols
-> target variable : 9000 values
-> predict function : yhat.WrappedModel will be used ( <1b>[33m default <1b>[39m )
-> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m )
-> model_info : package mlr , ver. 2.19.3 , task regression ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 1792.597 , mean = 3506.836 , max = 6241.447
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -257.2555 , mean = 4.687686 , max = 472.356
<1b>[32m A new explainer has been created! <1b>[39m
Preparation of a new explainer is initiated
-> model label : RF
-> data : 9000 rows 6 cols
-> target variable : 9000 values
-> predict function : yhat.WrappedModel will be used ( <1b>[33m default <1b>[39m )
-> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m )
-> model_info : package mlr , ver. 2.19.3 , task regression ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 1803.292 , mean = 3505.36 , max = 6254.712
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -554.3716 , mean = 6.16351 , max = 762.9554
<1b>[32m A new explainer has been created! <1b>[39m
Preparation of a new explainer is initiated
-> model label : GBM
-> data : 9000 rows 6 cols
-> target variable : 9000 values
-> predict function : yhat.WrappedModel will be used ( <1b>[33m default <1b>[39m )
-> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m )
-> model_info : package mlr , ver. 2.19.3 , task regression ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 2115.662 , mean = 3503.126 , max = 6060.185
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -534.541 , mean = 8.39721 , max = 769.2368
<1b>[32m A new explainer has been created! <1b>[39m
additional arguments ignored in warning()
Preparation of a new explainer is initiated
-> model label : ranger ( <1b>[33m default <1b>[39m )
-> data : 2207 rows 7 cols
-> target variable : 2207 values
-> predict function : yhat.ranger will be used ( <1b>[33m default <1b>[39m )
-> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m )
-> model_info : package ranger , ver. 0.17.0 , task classification ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 0.01044119 , mean = 0.3230215 , max = 0.9912099
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -0.7824742 , mean = -0.0008646834 , max = 0.8898294
<1b>[32m A new explainer has been created! <1b>[39m
additional arguments ignored in warning()
Saving _problems/test_xgboost_explain-13.R
Saving _problems/test_xgboost_explain-31.R
Saving _problems/test_xgboost_explain-50.R
[ FAIL 3 | WARN 13 | SKIP 10 | PASS 45 ]
══ Skipped tests (10) ══════════════════════════════════════════════════════════
• Conda test env needed for tests (6): 'test_create_env.R:6:3',
'test_create_env.R:27:3', 'test_create_env.R:40:3',
'test_keras_explain.R:6:2', 'test_scikitlearn_explain.R:6:3',
'tests_prints.R:8:3'
• JAVA entry needed for tests (4): 'test_h2o_explain.R:8:3',
'test_h2o_explain.R:33:3', 'test_h2o_explain.R:56:3',
'test_h2o_explain.R:90:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_xgboost_explain.R:11:3'): creating explainer classif ───────────
Error in `strsplit(model$params$objective, ":", fixed = TRUE)`: non-character argument
Backtrace:
▆
1. └─DALEXtra::explain_xgboost(...) at test_xgboost_explain.R:11:3
2. └─DALEX::explain(...)
3. ├─DALEX::model_info(model, is_multiclass = task_subtype)
4. └─DALEXtra:::model_info.xgb.Booster(model, is_multiclass = task_subtype)
5. └─base::strsplit(model$params$objective, ":", fixed = TRUE)
── Error ('test_xgboost_explain.R:29:3'): creating explainer regr ──────────────
Error in `strsplit(model$params$objective, ":", fixed = TRUE)`: non-character argument
Backtrace:
▆
1. └─DALEXtra::explain_xgboost(...) at test_xgboost_explain.R:29:3
2. └─DALEX::explain(...)
3. ├─DALEX::model_info(model, is_multiclass = task_subtype)
4. └─DALEXtra:::model_info.xgb.Booster(model, is_multiclass = task_subtype)
5. └─base::strsplit(model$params$objective, ":", fixed = TRUE)
── Error ('test_xgboost_explain.R:48:3'): creating explainer multi ─────────────
Error in `strsplit(model$params$objective, ":", fixed = TRUE)`: non-character argument
Backtrace:
▆
1. └─DALEXtra::explain_xgboost(...) at test_xgboost_explain.R:48:3
2. └─DALEX::explain(...)
3. ├─DALEX::model_info(model, is_multiclass = task_subtype)
4. └─DALEXtra:::model_info.xgb.Booster(model, is_multiclass = task_subtype)
5. └─base::strsplit(model$params$objective, ":", fixed = TRUE)
[ FAIL 3 | WARN 13 | SKIP 10 | PASS 45 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-windows-x86_64