Running examples in ‘iBreakDown-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: plotD3
> ### Title: Plot Break Down Objects in D3 with r2d3 package.
> ### Aliases: plotD3 plotD3.break_down
> 
> ### ** Examples
> 
> library("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
> library("iBreakDown")
> set.seed(1313)
> model_titanic_glm <- glm(survived ~ gender + age + fare,
+                        data = titanic_imputed, family = "binomial")
> explain_titanic_glm <- explain(model_titanic_glm,
+                            data = titanic_imputed,
+                            y = titanic_imputed$survived,
+                            label = "glm")
Preparation of a new explainer is initiated
  -> model label       :  glm 
  -> data              :  2207  rows  8  cols 
  -> target variable   :  2207  values 
  -> predict function  :  yhat.glm  will be used ( [33m default [39m )
  -> predicted values  :  No value for predict function target column. ( [33m default [39m )
  -> model_info        :  package stats , ver. 4.6.0 , task classification ( [33m default [39m ) 
  -> predicted values  :  numerical, min =  0.1490412 , mean =  0.3221568 , max =  0.9878987  
  -> residual function :  difference between y and yhat ( [33m default [39m )
  -> residuals         :  numerical, min =  -0.8898433 , mean =  4.16449e-13 , max =  0.8448637  
 [32m A new explainer has been created! [39m 
> 
> bd_glm <- local_attributions(explain_titanic_glm, titanic_imputed[1, ])
> bd_glm
                            contribution
glm: intercept                     0.322
glm: gender = male                -0.107
glm: fare = 7.11                  -0.018
glm: age = 42                     -0.014
glm: class = 3rd                   0.000
glm: embarked = Southampton        0.000
glm: sibsp = 0                     0.000
glm: parch = 0                     0.000
glm: survived = 0                  0.000
glm: prediction                    0.183
> plotD3(bd_glm)
Error in loadNamespace(x) : there is no package called ‘r2d3’
Calls: plotD3 ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
          user system elapsed
describe 4.831   0.24    6.16