Running ‘testthat.R’ [264s/304s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(DALEXtra)
  Loading required package: DALEX
  Welcome to DALEX (version: 2.0.1).
  Find examples and detailed introduction at: https://pbiecek.github.io/ema/
  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  :  numerical, min =  1792.597 , mean =  3506.836 , max =  6241.447  
    -> model_info        :  package mlr , ver. 2.18.0 , task regression ( [33m default [39m ) 
    -> 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  :  numerical, min =  1984.832 , mean =  3505.436 , max =  5845.531  
    -> model_info        :  package mlr , ver. 2.18.0 , task regression ( [33m default [39m ) 
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -737.1183 , mean =  6.087822 , max =  1281.882  
   [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  :  numerical, min =  2126.452 , mean =  3503.253 , max =  6042.284  
    -> model_info        :  package mlr , ver. 2.18.0 , task regression ( [33m default [39m ) 
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -530.784 , mean =  8.270824 , max =  711.9993  
   [32m A new explainer has been created! [39m 
  additional arguments ignored in warning()
  additional arguments ignored in warning()
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● Conda test env needed for tests (8)
  ● JAVA entry needed for tests (4)
  ● Test with windows (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_xgboost_explain.R:5:1): (code run outside of `test_that()`) ─────
  Error: there is no package called 'xgboost'
  Backtrace:
      █
   1. └─base::library("xgboost") test_xgboost_explain.R:5:0
  
  [ FAIL 1 | WARN 0 | SKIP 13 | PASS 34 ]
  Error: Test failures
  Execution halted