Running 'testthat.R' [485s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(DALEXtra)
  Loading required package: 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
  > 
  > 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.3 , 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.3 , task regression ( [33m default [39m ) 
    -> predicted values  :  numerical, min =  1793.832 , mean =  3504.43 , max =  6269.505  
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -530.4382 , mean =  7.093942 , max =  743.8926  
   [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.3 , task regression ( [33m default [39m ) 
    -> predicted values  :  numerical, min =  2122.758 , mean =  3502.404 , max =  6054.029  
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -519.7581 , mean =  9.119396 , max =  757.1275  
   [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.17.0 , task classification ( [33m default [39m ) 
    -> predicted values  :  numerical, min =  0.01470696 , mean =  0.3225914 , max =  0.9903969  
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -0.7760676 , mean =  -0.0004345986 , max =  0.8829975  
   [32m A new explainer has been created! [39m 
  additional arguments ignored in warning()
  Saving _problems/test_xgboost_explain-13.R
  Saving _problems/test_xgboost_explain-31.R
  Saving _problems/test_xgboost_explain-50.R
  [ FAIL 3 | WARN 13 | SKIP 10 | PASS 45 ]
  
  ══ 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 ════════════════════════════════════════════════════════════════
  ── Error ('test_xgboost_explain.R:11:3'): creating explainer classif ───────────
  Error in `strsplit(model$params$objective, ":", fixed = TRUE)`: non-character argument
  Backtrace:
      ▆
   1. └─DALEXtra::explain_xgboost(...) at test_xgboost_explain.R:11:3
   2.   └─DALEX::explain(...)
   3.     ├─DALEX::model_info(model, is_multiclass = task_subtype)
   4.     └─DALEXtra:::model_info.xgb.Booster(model, is_multiclass = task_subtype)
   5.       └─base::strsplit(model$params$objective, ":", fixed = TRUE)
  ── Error ('test_xgboost_explain.R:29:3'): creating explainer regr ──────────────
  Error in `strsplit(model$params$objective, ":", fixed = TRUE)`: non-character argument
  Backtrace:
      ▆
   1. └─DALEXtra::explain_xgboost(...) at test_xgboost_explain.R:29:3
   2.   └─DALEX::explain(...)
   3.     ├─DALEX::model_info(model, is_multiclass = task_subtype)
   4.     └─DALEXtra:::model_info.xgb.Booster(model, is_multiclass = task_subtype)
   5.       └─base::strsplit(model$params$objective, ":", fixed = TRUE)
  ── Error ('test_xgboost_explain.R:48:3'): creating explainer multi ─────────────
  Error in `strsplit(model$params$objective, ":", fixed = TRUE)`: non-character argument
  Backtrace:
      ▆
   1. └─DALEXtra::explain_xgboost(...) at test_xgboost_explain.R:48:3
   2.   └─DALEX::explain(...)
   3.     ├─DALEX::model_info(model, is_multiclass = task_subtype)
   4.     └─DALEXtra:::model_info.xgb.Booster(model, is_multiclass = task_subtype)
   5.       └─base::strsplit(model$params$objective, ":", fixed = TRUE)
  
  [ FAIL 3 | WARN 13 | SKIP 10 | PASS 45 ]
  Error:
  ! Test failures.
  Execution halted