- using R Under development (unstable) (2025-12-04 r89100)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-9) 15.2.0
GNU Fortran (Debian 15.2.0-9) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘iml/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘iml’ version ‘0.11.4’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [0s/0s] OK
- checking package namespace information ... OK
- checking package dependencies ... WARNING
Cannot process vignettes
Packages suggested but not available for checking:
'ALEPlot', 'caret', 'covr', 'glmnet', 'keras', 'knitr', 'ranger',
'rmarkdown'
VignetteBuilder package required for checking but not installed: ‘knitr’
- 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 serialization versions ... OK
- checking whether package ‘iml’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] 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 ... [8s/8s] OK
- checking Rd files ... [0s/0s] 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 ... [12s/11s] ERROR
Running examples in ‘iml-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: LocalModel
> ### Title: LocalModel
> ### Aliases: LocalModel
>
> ### ** Examples
>
> library("randomForest")
randomForest 4.7-1.2
Type rfNews() to see new features/changes/bug fixes.
> # First we fit a machine learning model on the Boston housing data
> data("Boston", package = "MASS")
> X <- Boston[-which(names(Boston) == "medv")]
> rf <- randomForest(medv ~ ., data = Boston, ntree = 50)
> mod <- Predictor$new(rf, data = X)
>
> # Explain the first instance of the dataset with the LocalModel method:
> x.interest <- X[1, ]
> lemon <- LocalModel$new(mod, x.interest = x.interest, k = 2)
Loading required package: glmnet
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘glmnet’
Error in initialize(...) : Please install glmnet.
Calls: <Anonymous> -> initialize
Execution halted
- checking package vignettes ... NOTE
Package has ‘vignettes’ subdirectory but apparently no vignettes.
Perhaps the ‘VignetteBuilder’ information is missing from the
DESCRIPTION file?
- checking PDF version of manual ... [4s/4s] OK
- checking HTML version of manual ... [2s/2s] NOTE
Skipping checking math rendering: package 'V8' unavailable
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 WARNING, 2 NOTEs