Running 'testthat.R' [443s]
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")
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |============                                                          |  17%
    |                                                                            
    |=======================                                               |  33%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |===============================================                       |  67%
    |                                                                            
    |==========================================================            |  83%
    |                                                                            
    |======================================================================| 100%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 =  1797.807 , mean =  3505.192 , max =  6256.043  
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -535.4229 , mean =  6.331288 , max =  764.7215  
   [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 =  2108.49 , mean =  3503.947 , max =  6045.438  
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -527.955 , mean =  7.57688 , max =  736.5023  
   [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.01439095 , mean =  0.3226622 , max =  0.9901763  
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -0.7856908 , mean =  -0.0005054173 , max =  0.8882038  
   [32m A new explainer has been created! [39m 
  [02:40:55] WARNING: src/learner.cc:767: 
  Parameters: { "prediction" } are not used.
  
  [02:40:55] WARNING: src/learner.cc:767: 
  Parameters: { "prediction" } are not used.
  
  [02:40:55] WARNING: src/learner.cc:767: 
  Parameters: { "prediction" } are not used.
  
  [ FAIL 2 | WARN 8 | SKIP 8 | PASS 55 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • Conda test env needed for tests (4)
  • JAVA entry needed for tests (4)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_scikitlearn_explain.R:3:1'): (code run outside of `test_that()`) ──
  Error in `fetch(key)`: lazy-load database 'D:/RCompile/CRANpkg/lib/4.3/rpart/help/rpart.rdb' is corrupt
  Backtrace:
       ▆
    1. ├─base::source("objects_for_tests.R") at test_scikitlearn_explain.R:3:0
    2. │ ├─base::withVisible(eval(ei, envir))
    3. │ └─base::eval(ei, envir)
    4. │   └─base::eval(ei, envir)
    5. └─mlr::makeLearner("classif.rpart", predict.type = "prob")
    6.   ├─base::do.call(constructor, list())
    7.   └─mlr (local) `<fn>`()
    8.     └─mlr::makeRLearnerClassif(...)
    9.       ├─BBmisc::addClasses(...)
   10.       └─mlr:::makeRLearnerInternal(...)
   11.         └─mlr:::makeParamHelpList(callees, package, par.set)
   12.           ├─utils::capture.output(tools::Rd2HTML(ghf(h)))
   13.           │ └─base::withVisible(...elt(i))
   14.           ├─tools::Rd2HTML(ghf(h))
   15.           └─utils (local) ghf(h)
   16.             └─tools:::fetchRdDB(RdDB, basename(file))
   17.               └─base::lazyLoadDBexec(filebase, fun)
   18.                 └─tools (local) fun(environment())
   19.                   └─tools (local) fetch(key)
  ── Error ('tests_prints.R:3:1'): (code run outside of `test_that()`) ───────────
  Error in `fetch(key)`: lazy-load database 'D:/RCompile/CRANpkg/lib/4.3/rpart/help/rpart.rdb' is corrupt
  Backtrace:
       ▆
    1. ├─base::source("objects_for_tests.R") at tests_prints.R:3:0
    2. │ ├─base::withVisible(eval(ei, envir))
    3. │ └─base::eval(ei, envir)
    4. │   └─base::eval(ei, envir)
    5. └─mlr::makeLearner("classif.rpart", predict.type = "prob")
    6.   ├─base::do.call(constructor, list())
    7.   └─mlr (local) `<fn>`()
    8.     └─mlr::makeRLearnerClassif(...)
    9.       ├─BBmisc::addClasses(...)
   10.       └─mlr:::makeRLearnerInternal(...)
   11.         └─mlr:::makeParamHelpList(callees, package, par.set)
   12.           ├─utils::capture.output(tools::Rd2HTML(ghf(h)))
   13.           │ └─base::withVisible(...elt(i))
   14.           ├─tools::Rd2HTML(ghf(h))
   15.           └─utils (local) ghf(h)
   16.             └─tools:::fetchRdDB(RdDB, basename(file))
   17.               └─base::lazyLoadDBexec(filebase, fun)
   18.                 └─tools (local) fun(environment())
   19.                   └─tools (local) fetch(key)
  
  [ FAIL 2 | WARN 8 | SKIP 8 | PASS 55 ]
  Error: Test failures
  Execution halted