CRAN Package Check Results for Package localModel

Last updated on 2026-07-12 17:52:03 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5 5.61 92.95 98.56 OK
r-devel-linux-x86_64-debian-gcc 0.5 4.42 70.20 74.62 ERROR
r-devel-linux-x86_64-fedora-clang 0.5 9.00 144.98 153.98 OK
r-devel-linux-x86_64-fedora-gcc 0.5 9.00 144.03 153.03 OK
r-devel-windows-x86_64 0.5 10.00 103.00 113.00 ERROR
r-patched-linux-x86_64 0.5 5.31 85.94 91.25 OK
r-release-linux-x86_64 0.5 5.13 87.12 92.25 OK
r-release-macos-arm64 0.5 2.00 30.00 32.00 OK
r-release-macos-x86_64 0.5 5.00 134.00 139.00 OK
r-release-windows-x86_64 0.5 10.00 102.00 112.00 OK
r-oldrel-macos-arm64 0.5 OK
r-oldrel-macos-x86_64 0.5 3.00 82.00 85.00 OK
r-oldrel-windows-x86_64 0.5 12.00 131.00 143.00 OK

Check Details

Version: 0.5
Check: tests
Result: ERROR Running ‘testthat.R’ [6s/8s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(localModel) > library(DALEX) Welcome to DALEX (version: 2.5.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 > 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 ( <1b>[33m default <1b>[39m ) -> data : 500 rows 6 cols -> target variable : not specified! ( <1b>[31m WARNING <1b>[39m ) -> predict function : yhat.randomForest will be used ( <1b>[33m default <1b>[39m ) -> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m ) -> model_info : package randomForest , ver. 4.7.1.2 , task multiclass ( <1b>[33m default <1b>[39m ) -> model_info : Model info detected multiclass task but 'y' is a NULL . ( <1b>[31m WARNING <1b>[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 ( <1b>[33m default <1b>[39m ) -> residual function : difference between 1 and probability of true class ( <1b>[33m default <1b>[39m ) <1b>[32m A new explainer has been created! <1b>[39m Preparation of a new explainer is initiated -> model label : randomForest ( <1b>[33m default <1b>[39m ) -> data : 500 rows 6 cols -> target variable : not specified! ( <1b>[31m WARNING <1b>[39m ) -> predict function : yhat.randomForest will be used ( <1b>[33m default <1b>[39m ) -> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m ) -> model_info : package randomForest , ver. 4.7.1.2 , task regression ( <1b>[33m default <1b>[39m ) -> model_info : Model info detected regression task but 'y' is a NULL . ( <1b>[31m WARNING <1b>[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 = 2082.965 , mean = 3506.201 , max = 6076.934 -> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m ) <1b>[32m A new explainer has been created! <1b>[39m Preparation of a new explainer is initiated -> model label : randomForest ( <1b>[33m default <1b>[39m ) -> data : 500 rows 6 cols -> target variable : not specified! ( <1b>[31m WARNING <1b>[39m ) -> predict function : yhat.randomForest will be used ( <1b>[33m default <1b>[39m ) -> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m ) -> model_info : package randomForest , ver. 4.7.1.2 , task classification ( <1b>[33m default <1b>[39m ) -> model_info : Model info detected classification task but 'y' is a NULL . ( <1b>[31m WARNING <1b>[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 ( <1b>[33m default <1b>[39m ) <1b>[32m A new explainer has been created! <1b>[39m Saving _problems/test_individual_surrogate_model-32.R Preparation of a new explainer is initiated -> model label : lm ( <1b>[33m default <1b>[39m ) -> data : 500 rows 6 cols -> target variable : not specified! ( <1b>[31m WARNING <1b>[39m ) -> predict function : yhat.glm will be used ( <1b>[33m default <1b>[39m ) -> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m ) -> model_info : package stats , ver. 4.7.0 , task classification ( <1b>[33m default <1b>[39m ) -> model_info : Model info detected classification task but 'y' is a NULL . ( <1b>[31m WARNING <1b>[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 ( <1b>[33m default <1b>[39m ) <1b>[32m A new explainer has been created! <1b>[39m Saving _problems/test_individual_surrogate_model-65.R [ FAIL 2 | WARN 25 | SKIP 0 | PASS 18 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_individual_surrogate_model.R:27:3'): individual_surrogate_model works with random forest and two classes ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── Failure ('test_individual_surrogate_model.R:60:3'): individual_surrogate_model works with glm and two classes ── Expected `... <- NULL` to run silently. Actual noise: warnings. [ FAIL 2 | WARN 25 | SKIP 0 | PASS 18 ] Error: ! Test failures. Warning messages: 1: In structure(lapply(object$data, class), .Names = vnames) : Replacing special names '.Names' is deprecated; use 'names' instead. 2: In structure(lapply(newdata, class), .Names = ndnames) : Replacing special names '.Names' is deprecated; use 'names' instead. 3: In structure(lapply(object$data, class), .Names = vnames) : Replacing special names '.Names' is deprecated; use 'names' instead. 4: In structure(lapply(newdata, class), .Names = ndnames) : Replacing special names '.Names' is deprecated; use 'names' instead. 5: In structure(lapply(object$data, class), .Names = vnames) : Replacing special names '.Names' is deprecated; use 'names' instead. 6: In structure(lapply(newdata, class), .Names = ndnames) : Replacing special names '.Names' is deprecated; use 'names' instead. 7: In structure(lapply(object$data, class), .Names = vnames) : Replacing special names '.Names' is deprecated; use 'names' instead. 8: In structure(lapply(newdata, class), .Names = ndnames) : Replacing special names '.Names' is deprecated; use 'names' instead. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.5
Check: tests
Result: ERROR Running 'testthat.R' [8s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(localModel) > library(DALEX) Welcome to DALEX (version: 2.5.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 > 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 ( <1b>[33m default <1b>[39m ) -> data : 500 rows 6 cols -> target variable : not specified! ( <1b>[31m WARNING <1b>[39m ) -> predict function : yhat.randomForest will be used ( <1b>[33m default <1b>[39m ) -> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m ) -> model_info : package randomForest , ver. 4.7.1.2 , task multiclass ( <1b>[33m default <1b>[39m ) -> model_info : Model info detected multiclass task but 'y' is a NULL . ( <1b>[31m WARNING <1b>[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 ( <1b>[33m default <1b>[39m ) -> residual function : difference between 1 and probability of true class ( <1b>[33m default <1b>[39m ) <1b>[32m A new explainer has been created! <1b>[39m Preparation of a new explainer is initiated -> model label : randomForest ( <1b>[33m default <1b>[39m ) -> data : 500 rows 6 cols -> target variable : not specified! ( <1b>[31m WARNING <1b>[39m ) -> predict function : yhat.randomForest will be used ( <1b>[33m default <1b>[39m ) -> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m ) -> model_info : package randomForest , ver. 4.7.1.2 , task regression ( <1b>[33m default <1b>[39m ) -> model_info : Model info detected regression task but 'y' is a NULL . ( <1b>[31m WARNING <1b>[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 = 1899.748 , mean = 3495.167 , max = 5801.44 -> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m ) <1b>[32m A new explainer has been created! <1b>[39m Preparation of a new explainer is initiated -> model label : randomForest ( <1b>[33m default <1b>[39m ) -> data : 500 rows 6 cols -> target variable : not specified! ( <1b>[31m WARNING <1b>[39m ) -> predict function : yhat.randomForest will be used ( <1b>[33m default <1b>[39m ) -> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m ) -> model_info : package randomForest , ver. 4.7.1.2 , task classification ( <1b>[33m default <1b>[39m ) -> model_info : Model info detected classification task but 'y' is a NULL . ( <1b>[31m WARNING <1b>[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 ( <1b>[33m default <1b>[39m ) <1b>[32m A new explainer has been created! <1b>[39m Saving _problems/test_individual_surrogate_model-32.R Preparation of a new explainer is initiated -> model label : lm ( <1b>[33m default <1b>[39m ) -> data : 500 rows 6 cols -> target variable : not specified! ( <1b>[31m WARNING <1b>[39m ) -> predict function : yhat.glm will be used ( <1b>[33m default <1b>[39m ) -> predicted values : No value for predict function target column. ( <1b>[33m default <1b>[39m ) -> model_info : package stats , ver. 4.7.0 , task classification ( <1b>[33m default <1b>[39m ) -> model_info : Model info detected classification task but 'y' is a NULL . ( <1b>[31m WARNING <1b>[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 ( <1b>[33m default <1b>[39m ) <1b>[32m A new explainer has been created! <1b>[39m Saving _problems/test_individual_surrogate_model-65.R [ FAIL 2 | WARN 13 | SKIP 0 | PASS 18 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_individual_surrogate_model.R:27:3'): individual_surrogate_model works with random forest and two classes ── Expected `... <- NULL` to run silently. Actual noise: warnings. ── Failure ('test_individual_surrogate_model.R:60:3'): individual_surrogate_model works with glm and two classes ── Expected `... <- NULL` to run silently. Actual noise: warnings. [ FAIL 2 | WARN 13 | SKIP 0 | PASS 18 ] Error: ! Test failures. Warning messages: 1: In structure(lapply(object$data, class), .Names = vnames) : Replacing special names '.Names' is deprecated; use 'names' instead. 2: In structure(lapply(newdata, class), .Names = ndnames) : Replacing special names '.Names' is deprecated; use 'names' instead. 3: In structure(lapply(object$data, class), .Names = vnames) : Replacing special names '.Names' is deprecated; use 'names' instead. 4: In structure(lapply(newdata, class), .Names = ndnames) : Replacing special names '.Names' is deprecated; use 'names' instead. 5: In structure(lapply(object$data, class), .Names = vnames) : Replacing special names '.Names' is deprecated; use 'names' instead. 6: In structure(lapply(newdata, class), .Names = ndnames) : Replacing special names '.Names' is deprecated; use 'names' instead. Execution halted Flavor: r-devel-windows-x86_64