Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(vivo)
  > 
  > test_check("vivo")
  Preparation of a new explainer is initiated
    -> model label       :  randomForest  ( [33m default [39m )
    -> data              :  9000  rows  4  cols 
    -> target variable   :  9000  values 
    -> model_info        :  package randomForest , ver. 4.6.14 , task regression ( [33m default [39m ) 
    -> predict function  :  yhat.randomForest  will be used ( [33m default [39m )
    -> predicted values  :  numerical, min =  2095.684 , mean =  3515.459 , max =  5319.288  
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -1210.642 , mean =  -3.93588 , max =  2118.466  
   [32m A new explainer has been created! [39m 
  Preparation of a new explainer is initiated
    -> model label       :  randomForest  ( [33m default [39m )
    -> data              :  9000  rows  4  cols 
    -> target variable   :  9000  values 
    -> model_info        :  package randomForest , ver. 4.6.14 , task regression ( [33m default [39m ) 
    -> predict function  :  yhat.randomForest  will be used ( [33m default [39m )
    -> predicted values  :  numerical, min =  2120.767 , mean =  3515.421 , max =  5366.64  
    -> residual function :  difference between y and yhat ( [33m default [39m )
    -> residuals         :  numerical, min =  -1278.467 , mean =  -3.897873 , max =  2186.047  
   [32m A new explainer has been created! [39m 
  -- 1. Error: plotMeasure (@test_plot.R#6)  -------------------------------------
  could not find function "theme_drwhy_colors"
  Backtrace:
   1. testthat::expect_is(plot(measure), "gg")
   5. vivo:::plot.local_importance(measure)
   6. ggplot2::geom_bar(stat = "identity", width = 0.5, fill = theme_drwhy_colors(1))
   7. ggplot2::layer(...)
  
  == testthat results  ===========================================================
  [ OK: 15 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
  1. Error: plotMeasure (@test_plot.R#6) 
  
  Error: testthat unit tests failed
  Execution halted