Running ‘testthat.R’ [129s/208s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(DALEXtra)
  Loading required package: DALEX
  Welcome to DALEX (version: 2.4.2).
  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.0 , 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.0 , task regression ( [33m default [39m ) 
    -> predicted values  :  numerical, min =  1798.033 , mean =  3504.62 , max =  6268.927  
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -539.9855 , mean =  6.903834 , max =  770.9673  
   [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.02025143 , mean =  0.3220389 , max =  0.9846628  
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -0.778298 , mean =  0.0001178263 , max =  0.8825728  
   [32m A new explainer has been created! [39m 
  additional arguments ignored in warning()
  [15:06:39] WARNING: amalgamation/../src/learner.cc:627: 
  Parameters: { "prediction" } might not be used.
  
    This could be a false alarm, with some parameters getting used by language bindings but
    then being mistakenly passed down to XGBoost core, or some parameter actually being used
    but getting flagged wrongly here. Please open an issue if you find any such cases.
  
  
  [15:06:42] WARNING: amalgamation/../src/learner.cc:627: 
  Parameters: { "prediction" } might not be used.
  
    This could be a false alarm, with some parameters getting used by language bindings but
    then being mistakenly passed down to XGBoost core, or some parameter actually being used
    but getting flagged wrongly here. Please open an issue if you find any such cases.
  
  
  [15:06:44] WARNING: amalgamation/../src/learner.cc:627: 
  Parameters: { "prediction" } might not be used.
  
    This could be a false alarm, with some parameters getting used by language bindings but
    then being mistakenly passed down to XGBoost core, or some parameter actually being used
    but getting flagged wrongly here. Please open an issue if you find any such cases.
  
  
  [ FAIL 5 | WARN 6 | SKIP 11 | PASS 33 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • Conda test env needed for tests (6)
  • JAVA entry needed for tests (4)
  • Test with windows (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_funnel_measure.R:24:1): (code run outside of `test_that()`) ─────
  Error in `requirePackages(package, why = stri_paste("learner", id, sep = " "), 
      default.method = "load")`: For learner regr.gbm please install the following packages: gbm
  Backtrace:
      ▆
   1. └─mlr::makeLearner("regr.gbm") at test_funnel_measure.R:24:0
   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_mlr_explain.R:16:3): creating explainer classif ─────────────────
  Error in `requirePackages(package, why = stri_paste("learner", id, sep = " "), 
      default.method = "load")`: For learner classif.gbm please install the following packages: gbm
  Backtrace:
      ▆
   1. └─mlr::makeLearner(...) at test_mlr_explain.R:16:2
   2.   ├─base::do.call(constructor, list())
   3.   └─mlr (local) `<fn>`()
   4.     └─mlr::makeRLearnerClassif(...)
   5.       ├─BBmisc::addClasses(...)
   6.       └─mlr:::makeRLearnerInternal(...)
   7.         └─BBmisc::requirePackages(...)
   8.           └─BBmisc::stopf(...)
  ── Error (test_mlr_explain.R:45:3): creating explainer regr ────────────────────
  Error in `requirePackages(package, why = stri_paste("learner", id, sep = " "), 
      default.method = "load")`: For learner regr.gbm please install the following packages: gbm
  Backtrace:
      ▆
   1. └─mlr::makeLearner(...) at test_mlr_explain.R:45:2
   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_overall_comparison.R:21:1): (code run outside of `test_that()`) ──
  Error in `requirePackages(package, why = stri_paste("learner", id, sep = " "), 
      default.method = "load")`: For learner regr.gbm please install the following packages: gbm
  Backtrace:
      ▆
   1. └─mlr::makeLearner("regr.gbm") at test_overall_comparison.R:21:0
   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_training_test.R:24:1): (code run outside of `test_that()`) ──────
  Error in `requirePackages(package, why = stri_paste("learner", id, sep = " "), 
      default.method = "load")`: For learner regr.gbm please install the following packages: gbm
  Backtrace:
      ▆
   1. └─mlr::makeLearner("regr.gbm") at test_training_test.R:24:0
   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(...)
  
  [ FAIL 5 | WARN 6 | SKIP 11 | PASS 33 ]
  Error: Test failures
  Execution halted