Running 'testthat.R' [314s]
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/
  Additional features will be available after installation of: ggpubr.
  Use 'install_dependencies()' to get all suggested dependencies
  > 
  > test_check("DALEXtra")
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |============                                                          |  17%
    |                                                                            
    |=======================                                               |  33%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |===============================================                       |  67%
    |                                                                            
    |==========================================================            |  83%
    |                                                                            
    |======================================================================| 100%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 ( [33m default [39m )
    -> predicted values  :  No value for predict function target column. ( [33m default [39m )
    -> model_info        :  package mlr , ver. 2.19.1 , task regression ( [33m default [39m ) 
    -> predicted values  :  numerical, min =  1792.597 , mean =  3506.836 , max =  6241.447  
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -257.2555 , mean =  4.687686 , max =  472.356  
   [32m A new explainer has been created! [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 ( [33m default [39m )
    -> predicted values  :  No value for predict function target column. ( [33m default [39m )
    -> model_info        :  package mlr , ver. 2.19.1 , task regression ( [33m default [39m ) 
    -> predicted values  :  numerical, min =  1792.658 , mean =  3504.774 , max =  6264.354  
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -551.6997 , mean =  6.749231 , max =  752.0599  
   [32m A new explainer has been created! [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 ( [33m default [39m )
    -> predicted values  :  No value for predict function target column. ( [33m default [39m )
    -> model_info        :  package mlr , ver. 2.19.1 , task regression ( [33m default [39m ) 
    -> predicted values  :  numerical, min =  2119.239 , mean =  3501.633 , max =  6037.324  
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -545.4894 , mean =  9.890305 , max =  712.4468  
   [32m A new explainer has been created! [39m 
  additional arguments ignored in warning()
  Preparation of a new explainer is initiated
    -> model label       :  ranger  ( [33m default [39m )
    -> data              :  2207  rows  7  cols 
    -> target variable   :  2207  values 
    -> predict function  :  yhat.ranger  will be used ( [33m default [39m )
    -> predicted values  :  No value for predict function target column. ( [33m default [39m )
    -> model_info        :  package ranger , ver. 0.15.1 , task classification ( [33m default [39m ) 
    -> predicted values  :  numerical, min =  0.01047814 , mean =  0.3224454 , max =  0.9903684  
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -0.7824143 , mean =  -0.0002885772 , max =  0.8826302  
   [32m A new explainer has been created! [39m 
  additional arguments ignored in warning()
  [09:53:35] WARNING: src/learner.cc:767: 
  Parameters: { "prediction" } are not used.
  
  [09:53:35] WARNING: src/learner.cc:767: 
  Parameters: { "prediction" } are not used.
  
  [09:53:36] WARNING: src/learner.cc:767: 
  Parameters: { "prediction" } are not used.
  
  [ FAIL 1 | WARN 8 | SKIP 10 | PASS 56 ]
  
  ══ Skipped tests (10) ══════════════════════════════════════════════════════════
  • 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'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_champion_challenger.R:43:3'): Report generates without errors ──
  `champion_challenger(report_data, dot_size = 3)` threw an error.
  Message: there is no package called 'knitr'
  Class:   packageNotFoundError/error/condition
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_champion_challenger.R:43:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─DALEXtra::champion_challenger(report_data, dot_size = 3)
    7. └─base::loadNamespace(x)
    8.   ├─base::namespaceImportFrom(...)
    9.   │ └─base::asNamespace(ns)
   10.   └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   11.     └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   12.       └─base (local) withOneRestart(expr, restarts[[1L]])
   13.         └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 1 | WARN 8 | SKIP 10 | PASS 56 ]
  Error: Test failures
  Execution halted