Running ‘testthat.R’ [1976s/578s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(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
  > library(devtools)
  Loading required package: usethis
  
  Attaching package: 'devtools'
  
  The following object is masked from 'package:testthat':
  
      test_file
  
  > library(modelDown)
  > 
  > test_check("modelDown")
  Preparation of a new explainer is initiated
    -> model label       :  ranger  ( [33m default [39m )
    -> data              :  3000  rows  10  cols 
    -> target variable   :  3000  values 
    -> predict function  :  function(model, data) {     return(predict(model, data)$prediction[, 2]) } 
    -> predicted values  :  numerical, min =  0.0002936508 , mean =  0.6681675 , max =  1  
    -> model_info        :  package ranger , ver. 0.12.1 , task classification ( [33m default [39m ) 
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -0.7022131 , mean =  -0.001500827 , max =  0.7132233  
   [32m A new explainer has been created! [39m 
  Preparation of a new explainer is initiated
    -> model label       :  lm  ( [33m default [39m )
    -> data              :  3000  rows  10  cols 
    -> target variable   :  3000  values 
    -> predict function  :  yhat.glm  will be used ( [33m default [39m )
    -> predicted values  :  numerical, min =  0.001706436 , mean =  0.6666667 , max =  1  
    -> model_info        :  package stats , ver. 4.0.2 , task classification ( [33m default [39m ) 
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -0.9989112 , mean =  1.673979e-09 , max =  0.9848484  
   [32m A new explainer has been created! [39m 
  Preparation of a new explainer is initiated
    -> model label       :  lm  ( [33m default [39m )
    -> data              :  4000  rows  10  cols 
    -> target variable   :  4000  values 
    -> predict function  :  yhat.glm  will be used ( [33m default [39m )
    -> predicted values  :  numerical, min =  0.001281044 , mean =  0.5 , max =  1  
    -> model_info        :  package stats , ver. 4.0.2 , task classification ( [33m default [39m ) 
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -0.9970616 , mean =  1.253319e-09 , max =  0.9891096  
   [32m A new explainer has been created! [39m 
  [1] "Generating auditor..."
  [1] "Generating drifter..."
  Preparation of a new explainer is initiated
    -> model label       :  model_old 
    -> data              :  4000  rows  10  cols 
    -> target variable   :  not specified! ( [31m WARNING [39m )
    -> predict function  :  predict_function 
    -> predicted values  :  numerical, min =  0.001706436 , mean =  0.5897454 , max =  1  
    -> model_info        :  package stats , ver. 4.0.2 , task classification ( [33m default [39m ) 
    -> residual function :  difference between y and yhat ( [33m default [39m )
   [32m A new explainer has been created! [39m 
  Preparation of a new explainer is initiated
    -> model label       :  model_new 
    -> data              :  4000  rows  10  cols 
    -> target variable   :  not specified! ( [31m WARNING [39m )
    -> predict function  :  predict_function 
    -> predicted values  :  numerical, min =  0.001706436 , mean =  0.5897454 , max =  1  
    -> model_info        :  package stats , ver. 4.0.2 , task classification ( [33m default [39m ) 
    -> residual function :  difference between y and yhat ( [33m default [39m )
   [32m A new explainer has been created! [39m 
  [1] "Generating model_performance..."
  [1] "Generating variable_importance..."
  [1] "Generating variable_response..."