CRAN Package Check Results for Package lime

Last updated on 2025-12-28 01:48:43 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.4 33.73 142.87 176.60 ERROR
r-devel-linux-x86_64-debian-gcc 0.5.4 23.00 102.89 125.89 ERROR
r-devel-linux-x86_64-fedora-clang 0.5.4 59.00 276.73 335.73 OK
r-devel-linux-x86_64-fedora-gcc 0.5.4 48.00 200.46 248.46 OK
r-devel-windows-x86_64 0.5.4 41.00 204.00 245.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 32.58 167.61 200.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 41.00 200.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 51.00 264.00 315.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 Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.5.4
Check: tests
Result: ERROR Running ‘testthat.R’ [34s/40s] 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-clang

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 Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.5.4
Check: tests
Result: ERROR Running ‘testthat.R’ [22s/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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.