Package: ceterisParibus Check: tests New result: ERROR Running ‘testthat.R’ [4s/4s] 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 (  default  ) -> data : 9000 rows 5 cols -> target variable : 9000 values -> predict function : yhat.randomForest will be used (  default  ) -> predicted values : No value for predict function target column. (  default  ) -> model_info : package randomForest , ver. 4.7.1.2 , task regression (  default  ) -> predicted values : numerical, min = 2010.982 , mean = 3505.971 , max = 5840.604 -> residual function : difference between y and yhat (  default  ) -> residuals : numerical, min = -727.4451 , mean = 5.552194 , max = 1262.554  A new explainer has been created!  Preparation of a new explainer is initiated -> model label : lm (  default  ) -> data : 9000 rows 5 cols -> target variable : 9000 values -> predict function : yhat.lm will be used (  default  ) -> predicted values : No value for predict function target column. (  default  ) -> model_info : package stats , ver. 4.5.0 , task regression (  default  ) -> predicted values : numerical, min = 1792.597 , mean = 3506.836 , max = 6241.447 -> residual function : difference between y and yhat (  default  ) -> residuals : numerical, min = -257.2555 , mean = 4.687686 , max = 472.356  A new explainer has been created!  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 ─────────────────────── 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 Package: packcircles Check: re-building of vignette outputs New result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘graph_packing.Rmd’ using rmarkdown --- finished re-building ‘graph_packing.Rmd’ --- re-building ‘intro.Rmd’ using rmarkdown ** Processing: /home/hornik/tmp/CRAN_recheck/packcircles.Rcheck/vign_test/packcircles/vignettes/intro_files/figure-html/unnamed-chunk-5-1.png 672x384 pixels, 3x8 bits/pixel, RGB Input IDAT size = 53637 bytes Input file size = 53787 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 40840 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 40840 Output IDAT size = 40840 bytes (12797 bytes decrease) Output file size = 40918 bytes (12869 bytes = 23.93% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/packcircles.Rcheck/vign_test/packcircles/vignettes/intro_files/figure-html/unnamed-chunk-7-1.png 672x384 pixels, 3x8 bits/pixel, RGB Input IDAT size = 93641 bytes Input file size = 93851 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 67441 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 67441 Output IDAT size = 67441 bytes (26200 bytes decrease) Output file size = 67519 bytes (26332 bytes = 28.06% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/packcircles.Rcheck/vign_test/packcircles/vignettes/intro_files/figure-html/unnamed-chunk-8-1.png 672x384 pixels, 3x8 bits/pixel, RGB Input IDAT size = 82414 bytes Input file size = 82612 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 56973 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 56973 Output IDAT size = 56973 bytes (25441 bytes decrease) Output file size = 57051 bytes (25561 bytes = 30.94% decrease) --- finished re-building ‘intro.Rmd’ --- re-building ‘progressive_packing.Rmd’ using rmarkdown ** Processing: /home/hornik/tmp/CRAN_recheck/packcircles.Rcheck/vign_test/packcircles/vignettes/progressive_packing_files/figure-html/unnamed-chunk-2-1.png 384x384 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 11517 bytes Input file size = 12387 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 10629 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 10629 Output IDAT size = 10629 bytes (888 bytes decrease) Output file size = 10707 bytes (1680 bytes = 13.56% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/packcircles.Rcheck/vign_test/packcircles/vignettes/progressive_packing_files/figure-html/unnamed-chunk-3-1.png 672x480 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 28108 bytes Input file size = 29002 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 25528 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 25528 Output IDAT size = 25528 bytes (2580 bytes decrease) Output file size = 25606 bytes (3396 bytes = 11.71% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/packcircles.Rcheck/vign_test/packcircles/vignettes/progressive_packing_files/figure-html/unnamed-chunk-4-1.png 672x384 pixels, 3x8 bits/pixel, RGB Input IDAT size = 265214 bytes Input file size = 265676 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 193703 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 193703 Output IDAT size = 193703 bytes (71511 bytes decrease) Output file size = 193781 bytes (71895 bytes = 27.06% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/packcircles.Rcheck/vign_test/packcircles/vignettes/progressive_packing_files/figure-html/unnamed-chunk-6-1.png 480x480 pixels, 3x8 bits/pixel, RGB Input IDAT size = 107125 bytes Input file size = 107359 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 83925 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 83925 Output IDAT size = 83925 bytes (23200 bytes decrease) Output file size = 84003 bytes (23356 bytes = 21.76% decrease) Quitting from lines 204-226 [unnamed-chunk-7] (progressive_packing.Rmd) Error: processing vignette 'progressive_packing.Rmd' failed with diagnostics: 'ggiraph' is defunct. Use 'girafe' instead. See help("Defunct") --- failed re-building ‘progressive_packing.Rmd’ SUMMARY: processing the following file failed: ‘progressive_packing.Rmd’ Error: Vignette re-building failed. Execution halted