Running ‘testthat.R’ [361s/405s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(DALEXtra)
  Loading required package: DALEX
  Welcome to DALEX (version: 1.3.0).
  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")
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |============                                                          |  17%
    |                                                                            
    |=======================                                               |  33%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |===============================================                       |  67%
    |                                                                            
    |==========================================================            |  83%
    |                                                                            
    |======================================================================| 100%── 1. Failure: Report generates without errors (@test_champion_challenger.R#40) 
  `champion_challenger(report_data, dot_size = 3)` threw an error.
  Message: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  Class:   simpleError/error/condition
  Backtrace:
   1. testthat::expect_error(...)
   6. DALEXtra::champion_challenger(report_data, dot_size = 3)
   7. rmarkdown::render(...)
   8. rmarkdown::pandoc_available(required_pandoc, error = TRUE)
  
  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.17.1 , 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 =  1995.897 , mean =  3506.594 , max =  5843.331  
    -> model_info        :  package mlr , ver. 2.17.1 , task regression ( [33m default [39m ) 
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -732.9793 , mean =  4.929064 , max =  1221.567  
   [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 =  2121.736 , mean =  3504.054 , max =  6046.113  
    -> model_info        :  package mlr , ver. 2.17.1 , task regression ( [33m default [39m ) 
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -518.736 , mean =  7.469756 , max =  784.6903  
   [32m A new explainer has been created! [39m 
  
  H2O is not running yet, starting it now...
  ── 2. Error: y is numeric (@test_h2o_explain.R#93)  ────────────────────────────
  Your java is not supported: java version "1.7.0_65"
  Please download the latest Java SE JDK from the following URL:
  https://www.oracle.com/technetwork/java/javase/downloads/index.html
  Backtrace:
   1. h2o::h2o.init()
   2. h2o:::.h2o.startJar(...)
  
  additional arguments ignored in warning()
  additional arguments ignored in warning()
  [16:36:00] WARNING: amalgamation/../src/learner.cc:480: 
  Parameters: { prediction } might not be used.
  
    This may not be accurate due to some parameters are only used in language bindings but
    passed down to XGBoost core.  Or some parameters are not used but slip through this
    verification. Please open an issue if you find above cases.
  
  
  [16:36:00] WARNING: amalgamation/../src/learner.cc:480: 
  Parameters: { prediction } might not be used.
  
    This may not be accurate due to some parameters are only used in language bindings but
    passed down to XGBoost core.  Or some parameters are not used but slip through this
    verification. Please open an issue if you find above cases.
  
  
  [16:36:00] WARNING: amalgamation/../src/learner.cc:480: 
  Parameters: { prediction } might not be used.
  
    This may not be accurate due to some parameters are only used in language bindings but
    passed down to XGBoost core.  Or some parameters are not used but slip through this
    verification. Please open an issue if you find above cases.
  
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 90 | SKIPPED: 11 | WARNINGS: 103 | FAILED: 2 ]
  1. Failure: Report generates without errors (@test_champion_challenger.R#40) 
  2. Error: y is numeric (@test_h2o_explain.R#93) 
  
  Error: testthat unit tests failed
  Execution halted