CRAN Package Check Results for Package xplainfi

Last updated on 2026-05-26 03:51:44 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.0 19.31 503.76 523.07 NOTE
r-devel-linux-x86_64-debian-gcc 1.1.0 12.10 270.28 282.38 ERROR
r-devel-linux-x86_64-fedora-clang 1.1.0 37.00 660.13 697.13 ERROR
r-devel-linux-x86_64-fedora-gcc 1.1.0 34.00 689.84 723.84 ERROR
r-devel-windows-x86_64 1.1.0 21.00 294.00 315.00 OK
r-patched-linux-x86_64 1.1.0 19.78 399.53 419.31 OK
r-release-linux-x86_64 1.1.0 15.11 400.27 415.38 OK
r-release-macos-arm64 1.1.0 4.00 70.00 74.00 OK
r-release-macos-x86_64 1.1.0 13.00 360.00 373.00 OK
r-release-windows-x86_64 1.1.0 21.00 291.00 312.00 OK
r-oldrel-macos-arm64 1.1.0 4.00 74.00 78.00 OK
r-oldrel-macos-x86_64 1.1.0 14.00 737.00 751.00 OK
r-oldrel-windows-x86_64 1.1.0 29.00 390.00 419.00 OK

Check Details

Version: 1.1.0
Check: tests
Result: NOTE Running ‘testthat.R’ [326s/114s] Running R code in ‘testthat.R’ had CPU time 2.9 times elapsed time Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [169s/78s] 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(xplainfi) > > test_check("xplainfi") Starting 2 test processes. Saving _problems/test-CFI-325.R Saving _problems/test-WVIM-274.R Saving _problems/test-WVIM-340.R Saving _problems/test-WVIM-359.R [ FAIL 4 | WARN 3 | SKIP 7 | PASS 1784 ] ══ Skipped tests (7) ═══════════════════════════════════════════════════════════ • On CRAN (6): 'test-ConditionalSAGE.R:51:2', 'test-ConditionalSAGE.R:139:2', 'test-ConditionalSAGE.R:157:2', 'test-ConditionalSAGE.R:199:2', 'test-ConditionalSAGE.R:261:2', 'test-MarginalSAGE.R:230:2' • as.numeric(R.version$minor) >= 6 is TRUE (1): 'test-bibentries.R:3:2' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-CFI.R:325:2'): CPI with non-t test reports se = NA ───────────── Error in `if (p < 0.99999) 1 - p else F(z, lower.tail = FALSE)`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(cfi$importance(ci_method = "cpi", test = "wilcoxon")) at test-CFI.R:325:9 2. │ └─base::withCallingHandlers(...) 3. └─cfi$importance(ci_method = "cpi", test = "wilcoxon") 4. └─xplainfi:::importance_cpi(...) 5. └─xplainfi:::test_obs_importance(...) 6. └─base::lapply(...) 7. └─xplainfi (local) FUN(X[[i]], ...) 8. ├─stats (local) test_function(...) 9. └─stats:::wilcox.test.default(...) 10. └─stats:::.wilcox_test_one_pval_asymp(STAT, n, alternative, correct) ── Error ('test-WVIM.R:274:2'): LOCO ci_method='lei' alternative='greater' produces one-sided CIs ── Error in `if (p < 0.99999) 1 - p else F(z, lower.tail = FALSE)`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─loco$importance(ci_method = "lei", alternative = "two.sided") at test-WVIM.R:274:9 2. └─xplainfi:::importance_loco(...) 3. └─xplainfi:::test_obs_importance(...) 4. └─base::lapply(...) 5. └─xplainfi (local) FUN(X[[i]], ...) 6. ├─stats (local) test_function(...) 7. └─stats:::wilcox.test.default(...) 8. └─stats:::.wilcox_test_one_pval_asymp(STAT, n, alternative, correct) ── Error ('test-WVIM.R:340:2'): LOCO ci_method='lei' works without warnings for cross-validation ── Error in `if (p < 0.99999) 1 - p else F(z, lower.tail = FALSE)`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(loco$importance(ci_method = "lei")) at test-WVIM.R:340:9 2. │ └─base::withCallingHandlers(...) 3. └─loco$importance(ci_method = "lei") 4. └─xplainfi:::importance_loco(...) 5. └─xplainfi:::test_obs_importance(...) 6. └─base::lapply(...) 7. └─xplainfi (local) FUN(X[[i]], ...) 8. ├─stats (local) test_function(...) 9. └─stats:::wilcox.test.default(...) 10. └─stats:::.wilcox_test_one_pval_asymp(STAT, n, alternative, correct) ── Error ('test-WVIM.R:359:2'): WVIM ci_method='lei' works for leave-out direction ── Error in `if (p < 0.99999) 1 - p else F(z, lower.tail = FALSE)`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─wvim$importance(ci_method = "lei") at test-WVIM.R:359:9 2. └─xplainfi:::importance_loco(...) 3. └─xplainfi:::test_obs_importance(...) 4. └─base::lapply(...) 5. └─xplainfi (local) FUN(X[[i]], ...) 6. ├─stats (local) test_function(...) 7. └─stats:::wilcox.test.default(...) 8. └─stats:::.wilcox_test_one_pval_asymp(STAT, n, alternative, correct) [ FAIL 4 | WARN 3 | SKIP 7 | PASS 1784 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [394s/287s] 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(xplainfi) > > test_check("xplainfi") Starting 2 test processes. Saving _problems/test-WVIM-274.R Saving _problems/test-WVIM-340.R Saving _problems/test-WVIM-359.R [ FAIL 3 | WARN 3 | SKIP 7 | PASS 1785 ] ══ Skipped tests (7) ═══════════════════════════════════════════════════════════ • On CRAN (6): 'test-ConditionalSAGE.R:51:2', 'test-ConditionalSAGE.R:139:2', 'test-ConditionalSAGE.R:157:2', 'test-ConditionalSAGE.R:199:2', 'test-ConditionalSAGE.R:261:2', 'test-MarginalSAGE.R:230:2' • as.numeric(R.version$minor) >= 6 is TRUE (1): 'test-bibentries.R:3:2' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-WVIM.R:274:2'): LOCO ci_method='lei' alternative='greater' produces one-sided CIs ── Error in `if (p < 0.99999) 1 - p else F(z, lower.tail = FALSE)`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─loco$importance(ci_method = "lei", alternative = "two.sided") at test-WVIM.R:274:9 2. └─xplainfi:::importance_loco(...) 3. └─xplainfi:::test_obs_importance(...) 4. └─base::lapply(...) 5. └─xplainfi (local) FUN(X[[i]], ...) 6. ├─stats (local) test_function(...) 7. └─stats:::wilcox.test.default(...) 8. └─stats:::.wilcox_test_one_pval_asymp(STAT, n, alternative, correct) ── Error ('test-WVIM.R:340:2'): LOCO ci_method='lei' works without warnings for cross-validation ── Error in `if (p < 0.99999) 1 - p else F(z, lower.tail = FALSE)`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(loco$importance(ci_method = "lei")) at test-WVIM.R:340:9 2. │ └─base::withCallingHandlers(...) 3. └─loco$importance(ci_method = "lei") 4. └─xplainfi:::importance_loco(...) 5. └─xplainfi:::test_obs_importance(...) 6. └─base::lapply(...) 7. └─xplainfi (local) FUN(X[[i]], ...) 8. ├─stats (local) test_function(...) 9. └─stats:::wilcox.test.default(...) 10. └─stats:::.wilcox_test_one_pval_asymp(STAT, n, alternative, correct) ── Error ('test-WVIM.R:359:2'): WVIM ci_method='lei' works for leave-out direction ── Error in `if (p < 0.99999) 1 - p else F(z, lower.tail = FALSE)`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─wvim$importance(ci_method = "lei") at test-WVIM.R:359:9 2. └─xplainfi:::importance_loco(...) 3. └─xplainfi:::test_obs_importance(...) 4. └─base::lapply(...) 5. └─xplainfi (local) FUN(X[[i]], ...) 6. ├─stats (local) test_function(...) 7. └─stats:::wilcox.test.default(...) 8. └─stats:::.wilcox_test_one_pval_asymp(STAT, n, alternative, correct) [ FAIL 3 | WARN 3 | SKIP 7 | PASS 1785 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [414s/385s] 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(xplainfi) > > test_check("xplainfi") Starting 2 test processes. Saving _problems/test-WVIM-274.R Saving _problems/test-WVIM-323.R Saving _problems/test-WVIM-400.R Saving _problems/test-WVIM-428.R [ FAIL 4 | WARN 3 | SKIP 7 | PASS 1767 ] ══ Skipped tests (7) ═══════════════════════════════════════════════════════════ • On CRAN (6): 'test-ConditionalSAGE.R:51:2', 'test-ConditionalSAGE.R:139:2', 'test-ConditionalSAGE.R:157:2', 'test-ConditionalSAGE.R:199:2', 'test-ConditionalSAGE.R:261:2', 'test-MarginalSAGE.R:230:2' • as.numeric(R.version$minor) >= 6 is TRUE (1): 'test-bibentries.R:3:2' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-WVIM.R:274:2'): LOCO ci_method='lei' alternative='greater' produces one-sided CIs ── Error in `if (p < 0.99999) 1 - p else F(z, lower.tail = FALSE)`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─loco$importance(ci_method = "lei", alternative = "two.sided") at test-WVIM.R:274:9 2. └─xplainfi:::importance_loco(...) 3. └─xplainfi:::test_obs_importance(...) 4. └─base::lapply(...) 5. └─xplainfi (local) FUN(X[[i]], ...) 6. ├─stats (local) test_function(...) 7. └─stats:::wilcox.test.default(...) 8. └─stats:::.wilcox_test_one_pval_asymp(STAT, n, alternative, correct) ── Error ('test-WVIM.R:320:2'): LOCO ci_method='lei' warns about duplicated observations ── Error in `if (p < 0.99999) 1 - p else F(z, lower.tail = FALSE)`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-WVIM.R:320:9 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─loco$importance(ci_method = "lei") 8. └─xplainfi:::importance_loco(...) 9. └─xplainfi:::test_obs_importance(...) 10. └─base::lapply(...) 11. └─xplainfi (local) FUN(X[[i]], ...) 12. ├─stats (local) test_function(...) 13. └─stats:::wilcox.test.default(...) 14. └─stats:::.wilcox_test_one_pval_asymp(STAT, n, alternative, correct) ── Error ('test-WVIM.R:400:2'): LOCO ci_method='lei' p_adjust corrects p-values ── Error in `if (p < 0.99999) 1 - p else F(z, lower.tail = FALSE)`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(loco$importance(ci_method = "lei", p_adjust = "none")) at test-WVIM.R:400:9 2. │ └─base::withCallingHandlers(...) 3. └─loco$importance(ci_method = "lei", p_adjust = "none") 4. └─xplainfi:::importance_loco(...) 5. └─xplainfi:::test_obs_importance(...) 6. └─base::lapply(...) 7. └─xplainfi (local) FUN(X[[i]], ...) 8. ├─stats (local) test_function(...) 9. └─stats:::wilcox.test.default(...) 10. └─stats:::.wilcox_test_one_pval_asymp(STAT, n, alternative, correct) ── Error ('test-WVIM.R:428:2'): LOCO ci_method='lei' default p_adjust is 'none' ── Error in `if (p < 0.99999) 1 - p else F(z, lower.tail = FALSE)`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(loco$importance(ci_method = "lei")) at test-WVIM.R:428:9 2. │ └─base::withCallingHandlers(...) 3. └─loco$importance(ci_method = "lei") 4. └─xplainfi:::importance_loco(...) 5. └─xplainfi:::test_obs_importance(...) 6. └─base::lapply(...) 7. └─xplainfi (local) FUN(X[[i]], ...) 8. ├─stats (local) test_function(...) 9. └─stats:::wilcox.test.default(...) 10. └─stats:::.wilcox_test_one_pval_asymp(STAT, n, alternative, correct) [ FAIL 4 | WARN 3 | SKIP 7 | PASS 1767 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc