* using log directory 'd:/Rcompile/CRANpkg/local/4.5/localICE.Rcheck' * using R version 4.5.3 (2026-03-11 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'localICE/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'localICE' version '0.1.1' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'localICE' can be installed ... OK * checking installed package size ... OK * checking package 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 ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] 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 ... [6s] OK * checking Rd files ... [0s] OK * checking Rd metadata ... 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 LazyData ... INFO 'LazyData' is specified without a 'data' directory * checking examples ... [3s] ERROR Running examples in 'localICE-Ex.R' failed The error most likely occurred in: > ### Name: localICE > ### Title: Local Individual Conditional Expectation (localICE) > ### Aliases: localICE > > ### ** Examples > > # Regression example: > if(require("randomForest")){ + rf = randomForest(Sepal.Length ~., data = iris, ntree = 20) + + explanation = localICE( + instance = iris[1, ], + data = iris, + feature_1 = "Species", + feature_2 = "Sepal.Width", + target = "Sepal.Length", + model = rf, + regression = TRUE, + step_2 = 0.1 + ) + plot(explanation) + } Loading required package: randomForest randomForest 4.7-1.2 Type rfNews() to see new features/changes/bug fixes. | | | 0% | |= | 1% | |== | 3% | |=== | 4% | |==== | 6% | |===== | 7% | |====== | 8% | |======= | 10% | |======== | 11% | |========= | 12% | |========== | 14% | |=========== | 15% | |============ | 17% | |============= | 18% | |============== | 19% | |=============== | 21% | |================ | 22% | |================= | 24% | |================== | 25% | |================== | 26% | |=================== | 28% | |==================== | 29% | |===================== | 31% | |====================== | 32% | |======================= | 33% | |======================== | 35% | |========================= | 36% | |========================== | 38% | |=========================== | 39% | |============================ | 40% | |============================= | 42% | |============================== | 43% | |=============================== | 44% | |================================ | 46% | |================================= | 47% | |================================== | 49% | |=================================== | 50% | |==================================== | 51% | |===================================== | 53% | |====================================== | 54% | |======================================= | 56% | |======================================== | 57% | |========================================= | 58% | |========================================== | 60% | |=========================================== | 61% | |============================================ | 62% | |============================================= | 64% | |============================================== | 65% | |=============================================== | 67% | |================================================ | 68% | |================================================= | 69% | |================================================== | 71% | |=================================================== | 72% | |==================================================== | 74% | |==================================================== | 75% | |===================================================== | 76% | |====================================================== | 78% | |======================================================= | 79% | |======================================================== | 81% | |========================================================= | 82% | |========================================================== | 83% | |=========================================================== | 85% | |============================================================ | 86% | |============================================================= | 88% | |============================================================== | 89% | |=============================================================== | 90% | |================================================================ | 92% | |================================================================= | 93% | |================================================================== | 94% | |=================================================================== | 96% | |==================================================================== | 97% | |===================================================================== | 99% | |======================================================================| 100%Warning: Using `size` aesthetic for lines was deprecated in ggplot2 3.4.0. ℹ Please use `linewidth` instead. ℹ The deprecated feature was likely used in the localICE package. Please report the issue at . Warning: Use of `point_matrix$target` is discouraged. ℹ Use `target` instead. > > # Classification example: > if(require("randomForest") && require("mlbench")){ + data("PimaIndiansDiabetes") + rf = randomForest(diabetes ~., data = PimaIndiansDiabetes, ntree = 20) + + explanation = localICE( + instance = PimaIndiansDiabetes[8, ], + data = PimaIndiansDiabetes, + feature_1 = "age", + feature_2 = "glucose", + target = "diabetes", + model = rf, + regression = FALSE, + step_1 = 5, + step_2 = 5 + ) + plot(explanation) + } Loading required package: mlbench Warning in data("PimaIndiansDiabetes") : data set 'PimaIndiansDiabetes' not found Error in eval(m$data, parent.frame()) : object 'PimaIndiansDiabetes' not found Calls: randomForest -> randomForest.formula -> eval -> eval Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [7s] OK Running 'testthat.R' [6s] * checking PDF version of manual ... [15s] OK * checking HTML version of manual ... [1s] OK * DONE Status: 1 ERROR