Last updated on 2024-06-11 16:49:54 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
DALEXtra | 1 | 12 | |
EIX | 1 | 12 | |
shapper | 13 |
Current CRAN status: ERROR: 1, OK: 12
Version: 2.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [259s/405s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(DALEXtra)
Loading required package: DALEX
Welcome to DALEX (version: 2.4.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.1 , 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.1 , task regression ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 1796.123 , mean = 3504.702 , max = 6285.496
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -561.7156 , mean = 6.821957 , max = 738.2832
<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.1 , task regression ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 2105.59 , mean = 3504.171 , max = 6054.634
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -564.2496 , mean = 7.352133 , max = 767.9263
<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.16.0 , task classification ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 0.01262059 , mean = 0.3227434 , max = 0.991238
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -0.7851694 , mean = -0.0005866096 , max = 0.881172
<1b>[32m A new explainer has been created! <1b>[39m
additional arguments ignored in warning()
[14:19:48] WARNING: src/learner.cc:767:
Parameters: { "prediction" } are not used.
[14:19:49] WARNING: src/learner.cc:767:
Parameters: { "prediction" } are not used.
[14:19:49] WARNING: src/learner.cc:767:
Parameters: { "prediction" } are not used.
[ FAIL 1 | WARN 9 | SKIP 11 | PASS 53 ]
══ 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_tidymodels_explain.R:51:1'): (code run outside of `test_that()`) ──
<wf_set_unfitted/rlang_error/error/condition>
Error in `add_candidates(., wfs_rs)`: The supplied workflow set must be fitted to resamples with
`workflow_map()` (`?workflowsets::workflow_map()`) before being added to a data
stack.
Backtrace:
▆
1. ├─stacks() %>% add_candidates(wfs_rs) at test_tidymodels_explain.R:51:1
2. ├─stacks::add_candidates(., wfs_rs)
3. └─stacks:::add_candidates.workflow_set(., wfs_rs)
4. └─cli::cli_abort(...)
5. └─rlang::abort(...)
[ FAIL 1 | WARN 9 | SKIP 11 | PASS 53 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Current CRAN status: ERROR: 1, OK: 12
Version: 1.2.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'EIX.Rmd' using rmarkdown
Warning: ggrepel: 3 unlabeled data points (too many overlaps). Consider increasing max.overlaps
--- finished re-building 'EIX.Rmd'
--- re-building 'titanic_data.Rmd' using rmarkdown
Error: processing vignette 'titanic_data.Rmd' failed with diagnostics:
'CreateProcess' failed to run 'C:\PROGRA~1\Pandoc\pandoc.exe --version'
--- failed re-building 'titanic_data.Rmd'
SUMMARY: processing the following file failed:
'titanic_data.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavor: r-release-windows-x86_64
Current CRAN status: NOTE: 13
Version: 0.1.3
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
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-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64