Last updated on 2025-12-18 10:50:18 CET.
| Package | FAIL | ERROR | NOTE | OK |
|---|---|---|---|---|
| checked | 13 | |||
| DALEXtra | 1 | 7 | 5 | |
| EIX | 8 | 5 | ||
| shapper | 5 | 8 |
Current CRAN status: OK: 13
Current CRAN status: FAIL: 1, ERROR: 7, OK: 5
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-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 2.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [250s/322s]
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 = 1794.983 , mean = 3505.763 , max = 6265.565
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -548.4238 , mean = 5.760184 , max = 742.2337
<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 = 2119.715 , mean = 3505.501 , max = 6056.205
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -557.3934 , mean = 6.022927 , max = 767.5811
<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.01381976 , mean = 0.3221985 , max = 0.9895024
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -0.7835473 , mean = -4.168775e-05 , max = 0.8839181
<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-clang
Version: 2.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [173s/213s]
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 = 1781.598 , mean = 3504.348 , max = 6256.282
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -534.2467 , mean = 7.175406 , max = 759.9058
<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 = 2119.877 , mean = 3502.93 , max = 6050.921
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -516.8769 , mean = 8.594034 , max = 705.7214
<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.01413201 , mean = 0.3222297 , max = 0.9889209
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -0.7852525 , mean = -7.290358e-05 , max = 0.8899104
<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-devel-windows-x86_64, r-oldrel-windows-x86_64
Version: 2.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [7m/22m]
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 = 1792.711 , mean = 3503.599 , max = 6242.424
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -537.9971 , mean = 7.924882 , max = 748.8564
<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 = 2124.564 , mean = 3500.54 , max = 6045.022
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -544.0964 , mean = 10.98376 , max = 740.8335
<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.01167965 , mean = 0.3229032 , max = 0.9887604
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -0.7804985 , mean = -0.0007463887 , max = 0.8831356
<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/14m]
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 = 1800.721 , mean = 3505.353 , max = 6291.895
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -539.0842 , mean = 6.170173 , max = 759.5465
<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 = 2128.962 , mean = 3503.793 , max = 6040.015
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -620.5958 , mean = 7.730455 , max = 735.5363
<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.01332668 , mean = 0.3221705 , max = 0.9886106
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -0.7763965 , mean = -1.375607e-05 , max = 0.8883547
<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: PDF version of manual
Result: FAIL
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 2.3.0
Check: tests
Result: ERROR
Running 'testthat.R' [350s]
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 = 1799.99 , mean = 3504.02 , max = 6286.133
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -538.7919 , mean = 7.503646 , max = 734.0146
<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.637 , mean = 3504.228 , max = 6040.334
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -558.1479 , mean = 7.295357 , max = 763.4581
<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.01519209 , mean = 0.322419 , max = 0.9935204
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -0.8059524 , mean = -0.0002621836 , max = 0.8873025
<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-devel-windows-x86_64
Version: 2.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [246s/303s]
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 = 1785.349 , mean = 3503.899 , max = 6269.792
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -546.4837 , mean = 7.624145 , max = 762.1435
<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.561 , mean = 3502.042 , max = 6052.967
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -516.9687 , mean = 9.482014 , max = 744.4771
<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.009817251 , mean = 0.3223525 , max = 0.9908985
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -0.7830905 , mean = -0.0001957037 , max = 0.8849529
<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-patched-linux-x86_64
Version: 2.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [242s/289s]
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 = 1790.562 , mean = 3505.283 , max = 6238.61
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -547.1459 , mean = 6.240434 , max = 752.8022
<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 = 2126.843 , mean = 3499.809 , max = 6044.027
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -523.843 , mean = 11.71414 , max = 779.604
<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.01277638 , mean = 0.322563 , max = 0.988891
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -0.7917716 , mean = -0.0004062287 , max = 0.8910643
<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' [471s]
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 = 1787.538 , mean = 3505.649 , max = 6267.528
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -537.8681 , mean = 5.87461 , max = 733.9292
<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.327 , mean = 3502.314 , max = 6033.243
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -540.7241 , mean = 9.209324 , max = 832.1096
<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.01530151 , mean = 0.322199 , max = 0.98788
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -0.7838821 , mean = -4.222004e-05 , max = 0.8779031
<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
Current CRAN status: ERROR: 8, OK: 5
Version: 1.2.0
Check: whether package can be installed
Result: ERROR
Installation failed.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-oldrel-windows-x86_64
Current CRAN status: NOTE: 5, OK: 8
Version: 0.1.3
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Szymon Maksymiuk <sz.maksymiuk@gmail.com>’
The Description field contains
Lundberg, S., et al., (2016) <arXiv:1705.07874> The SHAP method is used
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: 0.1.3
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64