Running ‘testthat.R’ [260s/371s]
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")
  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 =  1795.392 , mean =  3504.767 , max =  6258.574  
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -549.8312 , mean =  6.756102 , max =  739.0148  
   [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 =  2122.106 , mean =  3503.364 , max =  6042.721  
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -519.1058 , mean =  8.15969 , max =  767.603  
   [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.16.0 , task classification ( [33m default [39m ) 
    -> predicted values  :  numerical, min =  0.01006102 , mean =  0.3221718 , max =  0.9903712  
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -0.774331 , mean =  -1.505779e-05 , max =  0.8865686  
   [32m A new explainer has been created! [39m 
  additional arguments ignored in warning()
  [16:18:46] WARNING: src/learner.cc:767: 
  Parameters: { "prediction" } are not used.
  
  [16:18:46] WARNING: src/learner.cc:767: 
  Parameters: { "prediction" } are not used.
  
  [16:18:46] WARNING: src/learner.cc:767: 
  Parameters: { "prediction" } are not used.
  
  [ FAIL 1 | WARN 9 | SKIP 11 | PASS 53 ]
  
  ══ Skipped tests (11) ══════════════════════════════════════════════════════════
  • 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'
  • Test with windows (1): 'test_champion_challenger.R:5:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_tidymodels_explain.R:51:1'): (code run outside of `test_that()`) ──
  <wf_set_unfitted/rlang_error/error/condition>
  Error in `add_candidates(., wfs_rs)`: The supplied workflow set must be fitted to resamples with
  `workflow_map()` (`?workflowsets::workflow_map()`) before being added to a data
  stack.
  Backtrace:
      ▆
   1. ├─stacks() %>% add_candidates(wfs_rs) at test_tidymodels_explain.R:51:1
   2. ├─stacks::add_candidates(., wfs_rs)
   3. └─stacks:::add_candidates.workflow_set(., wfs_rs)
   4.   └─cli::cli_abort(...)
   5.     └─rlang::abort(...)
  
  [ FAIL 1 | WARN 9 | SKIP 11 | PASS 53 ]
  Error: Test failures
  Execution halted