Last updated on 2024-11-24 09:50:22 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.4.2 | 4.30 | 47.31 | 51.61 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.6 | 3.57 | 34.61 | 38.18 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.6 | 46.25 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.6 | 84.92 | OK | |||
r-devel-windows-x86_64 | 0.6 | 11.00 | 68.00 | 79.00 | OK | |
r-patched-linux-x86_64 | 0.6 | 4.91 | 44.37 | 49.28 | OK | |
r-release-linux-x86_64 | 0.4.2 | 4.33 | 47.12 | 51.45 | NOTE | |
r-release-macos-arm64 | 0.6 | 39.00 | OK | |||
r-release-macos-x86_64 | 0.6 | 58.00 | OK | |||
r-release-windows-x86_64 | 0.6 | 8.00 | 74.00 | 82.00 | OK | |
r-oldrel-macos-arm64 | 0.6 | 40.00 | OK | |||
r-oldrel-macos-x86_64 | 0.6 | 56.00 | OK | |||
r-oldrel-windows-x86_64 | 0.6 | 10.00 | 77.00 | 87.00 | OK |
Version: 0.4.2
Check: package subdirectories
Result: NOTE
Problems with news in ‘NEWS.md’:
Cannot extract version info from the following section titles:
Major refactoring of the code
Flavors: r-devel-linux-x86_64-debian-clang, r-release-linux-x86_64
Version: 0.4.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(ceterisParibus)
Loading required package: ggplot2
Loading required package: gower
>
> test_check("ceterisParibus")
Welcome to DALEX (version: 2.4.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
randomForest 4.7-1.2
Type rfNews() to see new features/changes/bug fixes.
Attaching package: 'randomForest'
The following object is masked from 'package:ggplot2':
margin
Preparation of a new explainer is initiated
-> model label : randomForest ( <1b>[33m default <1b>[39m )
-> data : 9000 rows 5 cols
-> target variable : 9000 values
-> predict function : yhat.randomForest 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 randomForest , ver. 4.7.1.2 , task regression ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 2010.982 , mean = 3505.971 , max = 5840.604
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -727.4451 , mean = 5.552194 , max = 1262.554
<1b>[32m A new explainer has been created! <1b>[39m
Preparation of a new explainer is initiated
-> model label : lm ( <1b>[33m default <1b>[39m )
-> data : 9000 rows 5 cols
-> target variable : 9000 values
-> predict function : yhat.lm 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 stats , ver. 4.5.0 , 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
y_hat new_x vname x_quant quant relative_quant
1001 4255.354 1920 construction.year 0.6268889 0.00 -0.6268889
1001.1 4300.702 1921 construction.year 0.6268889 0.01 -0.6168889
1001.2 4301.926 1922 construction.year 0.6268889 0.02 -0.6068889
1001.3 4305.352 1923 construction.year 0.6268889 0.03 -0.5968889
1001.4 4305.352 1923 construction.year 0.6268889 0.04 -0.5868889
1001.5 4267.723 1924 construction.year 0.6268889 0.05 -0.5768889
label
1001 randomForest
1001.1 randomForest
1001.2 randomForest
1001.3 randomForest
1001.4 randomForest
1001.5 randomForest
y_hat new_x vname x_quant quant relative_quant
1001 4255.354 1920 construction.year 0.6268889 0.00 -0.6268889
1001.1 4300.702 1921 construction.year 0.6268889 0.01 -0.6168889
1001.2 4301.926 1922 construction.year 0.6268889 0.02 -0.6068889
1001.3 4305.352 1923 construction.year 0.6268889 0.03 -0.5968889
1001.4 4305.352 1923 construction.year 0.6268889 0.04 -0.5868889
1001.5 4267.723 1924 construction.year 0.6268889 0.05 -0.5768889
label
1001 randomForest
1001.1 randomForest
1001.2 randomForest
1001.3 randomForest
1001.4 randomForest
1001.5 randomForest
y_hat new_x vname quant obs_id label
1001 4768.305 20 surface 0.00 0 randomForest
1001.1 4765.291 21 surface 0.01 0 randomForest
1001.2 4761.576 23 surface 0.02 0 randomForest
1001.3 4760.838 24 surface 0.03 0 randomForest
1001.4 4760.290 26 surface 0.04 0 randomForest
1001.5 4743.734 27 surface 0.05 0 randomForest
y_hat new_x vname quant obs_id label
1001 4768.305 20 surface 0.00 0 randomForest
1001.1 4765.291 21 surface 0.01 0 randomForest
1001.2 4761.576 23 surface 0.02 0 randomForest
1001.3 4760.838 24 surface 0.03 0 randomForest
1001.4 4760.290 26 surface 0.04 0 randomForest
1001.5 4743.734 27 surface 0.05 0 randomForest
Top profiles :
m2.price construction.year surface floor no.rooms district _yhat_
1958 4397 1920 20 3 2 Wola 4264.677
1958.1 4397 1921 20 3 2 Wola 4291.510
1958.2 4397 1922 20 3 2 Wola 4293.457
1958.3 4397 1923 20 3 2 Wola 4298.767
1958.4 4397 1923 20 3 2 Wola 4298.767
1958.5 4397 1924 20 3 2 Wola 4302.630
_vname_ _ids_ _label_
1958 construction.year 1958 randomForest
1958.1 construction.year 1958 randomForest
1958.2 construction.year 1958 randomForest
1958.3 construction.year 1958 randomForest
1958.4 construction.year 1958 randomForest
1958.5 construction.year 1958 randomForest
Top observations:
m2.price construction.year surface floor no.rooms district _yhat_ _y_
1958 4397 2005 20 3 2 Wola 4094.383 4397
_label_
1958 randomForest
m2.price construction.year surface floor no.rooms district _yhat_
1001 4644 1920 131 3 5 Srodmiescie 4255.354
1001.1 4644 1921 131 3 5 Srodmiescie 4300.702
1001.2 4644 1922 131 3 5 Srodmiescie 4301.926
1001.3 4644 1923 131 3 5 Srodmiescie 4305.352
1001.4 4644 1924 131 3 5 Srodmiescie 4267.723
1001.5 4644 1925 131 3 5 Srodmiescie 4264.109
_vname_ _ids_
1001 construction.year 1001
1001.1 construction.year 1001
1001.2 construction.year 1001
1001.3 construction.year 1001
1001.4 construction.year 1001
1001.5 construction.year 1001
m2.price construction.year surface floor no.rooms district _yhat_
1001 4644 1920 131 3 5 Srodmiescie 4255.354
1001.1 4644 1921 131 3 5 Srodmiescie 4300.702
1001.2 4644 1922 131 3 5 Srodmiescie 4301.926
1001.3 4644 1923 131 3 5 Srodmiescie 4305.352
1001.4 4644 1924 131 3 5 Srodmiescie 4267.723
1001.5 4644 1925 131 3 5 Srodmiescie 4264.109
_vname_ _ids_
1001 construction.year 1001
1001.1 construction.year 1001
1001.2 construction.year 1001
1001.3 construction.year 1001
1001.4 construction.year 1001
1001.5 construction.year 1001
[ FAIL 1 | WARN 3 | SKIP 0 | PASS 29 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_plot_interactive_what_if.R:8:3'): output ───────────────────────
<defunctError/error/condition>
Error in `ggiraph::ggiraph(code = print(pl), hover_css = "fill-opacity:.3;cursor:pointer;")`: 'ggiraph' is defunct.
Use 'girafe' instead.
See help("Defunct")
Backtrace:
▆
1. ├─testthat::expect_is(plot_interactive(wi_rf_all), "ggiraph") at test_plot_interactive_what_if.R:8:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─ceterisParibus::plot_interactive(wi_rf_all)
5. └─ceterisParibus:::plot_interactive.what_if_explainer(wi_rf_all)
6. └─ggiraph::ggiraph(code = print(pl), hover_css = "fill-opacity:.3;cursor:pointer;")
7. └─base::.Defunct(new = "girafe")
[ FAIL 1 | WARN 3 | SKIP 0 | PASS 29 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.4.2
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavor: r-release-linux-x86_64