Running ‘testthat.R’ [10s/11s]
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.2 , 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 
  [12:01:30] WARNING: src/learner.cc:767: 
  Parameters: { "prediction" } are not used.
  
  [12:01:30] WARNING: src/learner.cc:767: 
  Parameters: { "prediction" } are not used.
  
  [12:01:31] WARNING: src/learner.cc:767: 
  Parameters: { "prediction" } are not used.
  
  [ FAIL 11 | WARN 2 | SKIP 1 | PASS 16 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • Test with windows (1): 'test_champion_challenger.R:5:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_create_env.R:3:1'): (code run outside of `test_that()`) ────────
  <packageNotFoundError/error/condition>
  Error in `library("reticulate")`: there is no package called 'reticulate'
  Backtrace:
      ▆
   1. ├─base::source("objects_for_tests.R") at test_create_env.R:3:1
   2. │ ├─base::withVisible(eval(ei, envir))
   3. │ └─base::eval(ei, envir)
   4. │   └─base::eval(ei, envir)
   5. └─base::library("reticulate")
  ── Error ('test_funnel_measure.R:17:1'): (code run outside of `test_that()`) ───
  Error in `requirePackages(package, why = stri_paste("learner", id, sep = " "), 
      default.method = "load")`: For learner regr.ranger please install the following packages: ranger
  Backtrace:
      ▆
   1. └─mlr::makeLearner("regr.ranger") at test_funnel_measure.R:17:1
   2.   ├─base::do.call(constructor, list())
   3.   └─mlr (local) `<fn>`()
   4.     └─mlr::makeRLearnerRegr(...)
   5.       ├─BBmisc::addClasses(...)
   6.       └─mlr:::makeRLearnerInternal(...)
   7.         └─BBmisc::requirePackages(...)
   8.           └─BBmisc::stopf(...)
  ── Error ('test_h2o_explain.R:3:1'): (code run outside of `test_that()`) ───────
  <packageNotFoundError/error/condition>
  Error in `library("reticulate")`: there is no package called 'reticulate'
  Backtrace:
      ▆
   1. ├─base::source("objects_for_tests.R") at test_h2o_explain.R:3:1
   2. │ ├─base::withVisible(eval(ei, envir))
   3. │ └─base::eval(ei, envir)
   4. │   └─base::eval(ei, envir)
   5. └─base::library("reticulate")
  ── Error ('test_keras_explain.R:3:1'): (code run outside of `test_that()`) ─────
  <packageNotFoundError/error/condition>
  Error in `library("reticulate")`: there is no package called 'reticulate'
  Backtrace:
      ▆
   1. ├─base::source("objects_for_tests.R") at test_keras_explain.R:3:1
   2. │ ├─base::withVisible(eval(ei, envir))
   3. │ └─base::eval(ei, envir)
   4. │   └─base::eval(ei, envir)
   5. └─base::library("reticulate")
  ── Error ('test_mlr_explain.R:3:1'): (code run outside of `test_that()`) ───────
  <packageNotFoundError/error/condition>
  Error in `library("reticulate")`: there is no package called 'reticulate'
  Backtrace:
      ▆
   1. ├─base::source("objects_for_tests.R") at test_mlr_explain.R:3:1
   2. │ ├─base::withVisible(eval(ei, envir))
   3. │ └─base::eval(ei, envir)
   4. │   └─base::eval(ei, envir)
   5. └─base::library("reticulate")
  ── Error ('test_overall_comparison.R:15:1'): (code run outside of `test_that()`) ──
  Error in `requirePackages(package, why = stri_paste("learner", id, sep = " "), 
      default.method = "load")`: For learner regr.ranger please install the following packages: ranger
  Backtrace:
      ▆
   1. └─mlr::makeLearner("regr.ranger") at test_overall_comparison.R:15:1
   2.   ├─base::do.call(constructor, list())
   3.   └─mlr (local) `<fn>`()
   4.     └─mlr::makeRLearnerRegr(...)
   5.       ├─BBmisc::addClasses(...)
   6.       └─mlr:::makeRLearnerInternal(...)
   7.         └─BBmisc::requirePackages(...)
   8.           └─BBmisc::stopf(...)
  ── Error ('test_predict_surrogate.R:4:1'): (code run outside of `test_that()`) ──
  <packageNotFoundError/error/condition>
  Error in `library(ranger)`: there is no package called 'ranger'
  Backtrace:
      ▆
   1. └─base::library(ranger) at test_predict_surrogate.R:4:1
  ── Error ('test_scikitlearn_explain.R:3:1'): (code run outside of `test_that()`) ──
  <packageNotFoundError/error/condition>
  Error in `library("reticulate")`: there is no package called 'reticulate'
  Backtrace:
      ▆
   1. ├─base::source("objects_for_tests.R") at test_scikitlearn_explain.R:3:1
   2. │ ├─base::withVisible(eval(ei, envir))
   3. │ └─base::eval(ei, envir)
   4. │   └─base::eval(ei, envir)
   5. └─base::library("reticulate")
  ── Error ('test_tidymodels_explain.R:1: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:1
  ── Error ('test_training_test.R:17:1'): (code run outside of `test_that()`) ────
  Error in `requirePackages(package, why = stri_paste("learner", id, sep = " "), 
      default.method = "load")`: For learner regr.ranger please install the following packages: ranger
  Backtrace:
      ▆
   1. └─mlr::makeLearner("regr.ranger") at test_training_test.R:17:1
   2.   ├─base::do.call(constructor, list())
   3.   └─mlr (local) `<fn>`()
   4.     └─mlr::makeRLearnerRegr(...)
   5.       ├─BBmisc::addClasses(...)
   6.       └─mlr:::makeRLearnerInternal(...)
   7.         └─BBmisc::requirePackages(...)
   8.           └─BBmisc::stopf(...)
  ── Error ('tests_prints.R:3:1'): (code run outside of `test_that()`) ───────────
  <packageNotFoundError/error/condition>
  Error in `library("reticulate")`: there is no package called 'reticulate'
  Backtrace:
      ▆
   1. ├─base::source("objects_for_tests.R") at tests_prints.R:3:1
   2. │ ├─base::withVisible(eval(ei, envir))
   3. │ └─base::eval(ei, envir)
   4. │   └─base::eval(ei, envir)
   5. └─base::library("reticulate")
  
  [ FAIL 11 | WARN 2 | SKIP 1 | PASS 16 ]
  Error: Test failures
  Execution halted