CRAN Package Check Results for Package lime

Last updated on 2025-12-25 19:50:18 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.4 33.97 181.69 215.66 OK
r-devel-linux-x86_64-debian-gcc 0.5.4 23.17 102.28 125.45 ERROR
r-devel-linux-x86_64-fedora-clang 0.5.4 63.00 277.85 340.85 OK
r-devel-linux-x86_64-fedora-gcc 0.5.4 60.00 284.38 344.38 OK
r-devel-windows-x86_64 0.5.4 40.00 206.00 246.00 OK
r-patched-linux-x86_64 0.5.4 32.73 165.76 198.49 OK
r-release-linux-x86_64 0.5.4 33.07 165.12 198.19 OK
r-release-macos-arm64 0.5.4 7.00 49.00 56.00 OK
r-release-macos-x86_64 0.5.4 23.00 186.00 209.00 OK
r-release-windows-x86_64 0.5.4 39.00 202.00 241.00 OK
r-oldrel-macos-arm64 0.5.4 7.00 55.00 62.00 OK
r-oldrel-macos-x86_64 0.5.4 24.00 197.00 221.00 OK
r-oldrel-windows-x86_64 0.5.4 49.00 264.00 313.00 OK

Check Details

Version: 0.5.4
Check: examples
Result: ERROR Running examples in ‘lime-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: explain > ### Title: Explain model predictions > ### Aliases: explain explain.data.frame explain.character explain.imagefile > > ### ** Examples > > # Explaining a model and an explainer for it > library(MASS) > iris_test <- iris[1, 1:4] > iris_train <- iris[-1, 1:4] > iris_lab <- iris[[5]][-1] > model <- lda(iris_train, iris_lab) > explanation <- lime(iris_train, model) > > # This can now be used together with the explain method > explain(iris_test, explanation, n_labels = 1, n_features = 2) Error in xtfrm.data.frame(list(setosa = 1, versicolor = 5.19132078849213e-22, : cannot xtfrm data frames Calls: explain ... explain.data.frame -> lapply -> FUN -> xtfrm -> xtfrm.data.frame Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.5.4
Check: tests
Result: ERROR Running ‘testthat.R’ [23s/27s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(lime) > > test_check("lime") Saving _problems/test-data.frame-21.R [ FAIL 1 | WARN 0 | SKIP 1 | PASS 21 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-h2o.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-data.frame.R:15:3'): lime explanation only produces one entry per case and feature ── Error in `xtfrm.data.frame(structure(list(setosa = 1, versicolor = 3.89635792768651e-22, virginica = 2.61116827494801e-42), row.names = 1L, class = "data.frame"))`: cannot xtfrm data frames Backtrace: ▆ 1. ├─lime::explain(...) at test-data.frame.R:15:3 2. └─lime:::explain.data.frame(...) 3. └─base::lapply(...) 4. └─lime (local) FUN(X[[i]], ...) 5. ├─base::xtfrm(`<data.frame>`) 6. └─base::xtfrm.data.frame(`<data.frame>`) [ FAIL 1 | WARN 0 | SKIP 1 | PASS 21 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.5.4
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘Understanding_lime.Rmd’ using rmarkdown Quitting from Understanding_lime.Rmd:161-176 [unnamed-chunk-3] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `xtfrm.data.frame()`: ! cannot xtfrm data frames --- Backtrace: ▆ 1. ├─lime::explain(biopsy[test_set, ], explainer, n_labels = 1, n_features = 4) 2. └─lime:::explain.data.frame(...) 3. └─base::lapply(...) 4. └─lime (local) FUN(X[[i]], ...) 5. ├─base::xtfrm(`<data.frame>`) 6. └─base::xtfrm.data.frame(`<data.frame>`) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Understanding_lime.Rmd' failed with diagnostics: cannot xtfrm data frames --- failed re-building ‘Understanding_lime.Rmd’ SUMMARY: processing the following file failed: ‘Understanding_lime.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc