- using R Under development (unstable) (2026-09-01 r90464)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 23.1.0
flang version 23.1.0
- running under: Fedora Linux 44 (Server Edition)
- using session charset: UTF-8
* current time: 2026-09-02 19:41:36 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘localModel/DESCRIPTION’ ... OK
- this is package ‘localModel’ version ‘0.5’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘localModel’ can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [7s/13s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(localModel)
> library(DALEX)
Welcome to DALEX (version: 2.5.4).
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
> library(randomForest)
randomForest 4.7-1.2
Type rfNews() to see new features/changes/bug fixes.
>
> test_check("localModel")
Preparation of a new explainer is initiated
-> model label : randomForest ( [33m default [39m )
-> data : 500 rows 6 cols
-> target variable : not specified! ( [31m WARNING [39m )
-> predict function : yhat.randomForest will be used ( [33m default [39m )
-> predicted values : No value for predict function target column. ( [33m default [39m )
-> model_info : package randomForest , ver. 4.7.1.2 , task multiclass ( [33m default [39m )
-> model_info : Model info detected multiclass task but 'y' is a NULL . ( [31m WARNING [39m )
-> model_info : By deafult multiclass tasks supports only factor 'y' parameter.
-> model_info : Consider changing to a factor vector with true class names.
-> model_info : Otherwise I will not be able to calculate residuals or loss function.
-> predicted values : predict function returns multiple columns: 3 ( [33m default [39m )
-> residual function : difference between 1 and probability of true class ( [33m default [39m )
[32m A new explainer has been created! [39m
Preparation of a new explainer is initiated
-> model label : randomForest ( [33m default [39m )
-> data : 500 rows 6 cols
-> target variable : not specified! ( [31m WARNING [39m )
-> predict function : yhat.randomForest will be used ( [33m default [39m )
-> predicted values : No value for predict function target column. ( [33m default [39m )
-> model_info : package randomForest , ver. 4.7.1.2 , task regression ( [33m default [39m )
-> model_info : Model info detected regression task but 'y' is a NULL . ( [31m WARNING [39m )
-> model_info : By deafult regressions tasks supports only numercical 'y' parameter.
-> model_info : Consider changing to numerical vector.
-> model_info : Otherwise I will not be able to calculate residuals or loss function.
-> predicted values : numerical, min = 1949.039 , mean = 3509.637 , max = 5745.077
-> residual function : difference between y and yhat ( [33m default [39m )
[32m A new explainer has been created! [39m
Saving _problems/test_generic-11.R
Preparation of a new explainer is initiated
-> model label : randomForest ( [33m default [39m )
-> data : 500 rows 6 cols
-> target variable : not specified! ( [31m WARNING [39m )
-> predict function : yhat.randomForest will be used ( [33m default [39m )
-> predicted values : No value for predict function target column. ( [33m default [39m )
-> model_info : package randomForest , ver. 4.7.1.2 , task classification ( [33m default [39m )
-> model_info : Model info detected classification task but 'y' is a NULL . ( [31m WARNING [39m )
-> model_info : By deafult classification tasks supports only numercical 'y' parameter.
-> model_info : Consider changing to numerical vector with 0 and 1 values.
-> model_info : Otherwise I will not be able to calculate residuals or loss function.
-> predicted values : numerical, min = 0 , mean = 0.4576 , max = 1
-> 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 : lm ( [33m default [39m )
-> data : 500 rows 6 cols
-> target variable : not specified! ( [31m WARNING [39m )
-> predict function : yhat.glm will be used ( [33m default [39m )
-> predicted values : No value for predict function target column. ( [33m default [39m )
-> model_info : package stats , ver. 4.7.0 , task classification ( [33m default [39m )
-> model_info : Model info detected classification task but 'y' is a NULL . ( [31m WARNING [39m )
-> model_info : By deafult classification tasks supports only numercical 'y' parameter.
-> model_info : Consider changing to numerical vector with 0 and 1 values.
-> model_info : Otherwise I will not be able to calculate residuals or loss function.
-> predicted values : numerical, min = 0.009202999 , mean = 0.464 , max = 0.9979422
-> residual function : difference between y and yhat ( [33m default [39m )
[32m A new explainer has been created! [39m
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 19 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_generic.R:7:3'): Plots work with different geoms ─────────────
Expected `{ ... }` to run silently.
Actual noise: messages.
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 19 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [13s/24s] OK
- checking PDF version of manual ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR