Running ‘testthat.R’ [182s/321s]
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
  Anaconda not found on your computer. Conda related functionality such as create_env.R and condaenv and yml parameters from explain_scikitlearn will not be available
  > 
  > 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 =  1801.769 , mean =  3505.207 , max =  6279.001  
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -529.5318 , mean =  6.316261 , max =  752.1033  
   [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 =  2127.261 , mean =  3503.755 , max =  6060.87  
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -568.0507 , mean =  7.768343 , max =  724.5601  
   [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.14.1 , task classification ( [33m default [39m ) 
    -> predicted values  :  numerical, min =  0.0170867 , mean =  0.3219977 , max =  0.9881709  
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -0.7757679 , mean =  0.0001590721 , max =  0.8821183  
   [32m A new explainer has been created! [39m 
  additional arguments ignored in warning()
  [15:30:36] WARNING: src/learner.cc:767: 
  Parameters: { "prediction" } are not used.
  
  [15:30:37] WARNING: src/learner.cc:767: 
  Parameters: { "prediction" } are not used.
  
  [15:30:39] WARNING: src/learner.cc:767: 
  Parameters: { "prediction" } are not used.
  
  [ FAIL 1 | WARN 8 | SKIP 11 | PASS 50 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • Conda test env needed for tests (6)
  • JAVA entry needed for tests (4)
  • Test with windows (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_tidymodels_explain.R:1'): (code run outside of `test_that()`) ──
  <packageNotFoundError/error/condition>
  Error in `library("tidymodels")`: there is no package called 'tidymodels'
  Backtrace:
      ▆
   1. └─base::library("tidymodels") at test_tidymodels_explain.R:1:0
  
  [ FAIL 1 | WARN 8 | SKIP 11 | PASS 50 ]
  Error: Test failures
  Execution halted