Running ‘testthat.R’ [7s/7s]
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: 0.2.4).
  randomForest 4.6-14
  Type rfNews() to see new features/changes/bug fixes.
  
  Attaching package: 'randomForest'
  
  The following object is masked from 'package:ggplot2':
  
      margin
  
  ── 1. Error: (unknown) (@test_plot_interactive_what_if.R#3)  ───────────────────
  there is no package called 'ggiraph'
  1: library("ggiraph") at testthat/test_plot_interactive_what_if.R:3
  2: stop(txt, domain = NA)
  
        y_hat new_x             vname   x_quant quant relative_quant        label
  0% 4255.354  1920 construction.year 0.6268889  0.00     -0.6268889 randomForest
  1% 4300.702  1921 construction.year 0.6268889  0.01     -0.6168889 randomForest
  2% 4301.926  1922 construction.year 0.6268889  0.02     -0.6068889 randomForest
  3% 4305.352  1923 construction.year 0.6268889  0.03     -0.5968889 randomForest
  4% 4305.352  1923 construction.year 0.6268889  0.04     -0.5868889 randomForest
  5% 4267.723  1924 construction.year 0.6268889  0.05     -0.5768889 randomForest
        y_hat new_x             vname   x_quant quant relative_quant        label
  0% 4255.354  1920 construction.year 0.6268889  0.00     -0.6268889 randomForest
  1% 4300.702  1921 construction.year 0.6268889  0.01     -0.6168889 randomForest
  2% 4301.926  1922 construction.year 0.6268889  0.02     -0.6068889 randomForest
  3% 4305.352  1923 construction.year 0.6268889  0.03     -0.5968889 randomForest
  4% 4305.352  1923 construction.year 0.6268889  0.04     -0.5868889 randomForest
  5% 4267.723  1924 construction.year 0.6268889  0.05     -0.5768889 randomForest
       y_hat new_x   vname quant obs_id        label
  1 4768.305    20 surface  0.00      0 randomForest
  2 4765.291    21 surface  0.01      0 randomForest
  3 4761.576    23 surface  0.02      0 randomForest
  4 4760.838    24 surface  0.03      0 randomForest
  5 4760.290    26 surface  0.04      0 randomForest
  6 4743.734    27 surface  0.05      0 randomForest
       y_hat new_x   vname quant obs_id        label
  1 4768.305    20 surface  0.00      0 randomForest
  2 4765.291    21 surface  0.01      0 randomForest
  3 4761.576    23 surface  0.02      0 randomForest
  4 4760.838    24 surface  0.03      0 randomForest
  5 4760.290    26 surface  0.04      0 randomForest
  6 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
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 27 SKIPPED: 0 FAILED: 1
  1. Error: (unknown) (@test_plot_interactive_what_if.R#3) 
  
  Error: testthat unit tests failed
  Execution halted