CRAN Package Check Results for Package withr

Last updated on 2026-06-19 12:59:54 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.0.2 1.84 47.47 49.31 OK
r-devel-linux-x86_64-debian-gcc 3.0.2 1.72 36.16 37.88 OK
r-devel-linux-x86_64-fedora-clang 3.0.3 5.00 110.22 115.22 OK
r-devel-linux-x86_64-fedora-gcc 3.0.3 5.00 123.80 128.80 OK
r-devel-windows-x86_64 3.0.2 9.00 95.00 104.00 ERROR
r-patched-linux-x86_64 3.0.2 2.75 43.97 46.72 OK
r-release-linux-x86_64 3.0.2 1.72 44.07 45.79 OK
r-release-macos-arm64 3.0.3 1.00 58.00 59.00 OK
r-release-macos-x86_64 3.0.3 2.00 168.00 170.00 OK
r-release-windows-x86_64 3.0.2 7.00 92.00 99.00 OK
r-oldrel-macos-arm64 3.0.3 1.00 67.00 68.00 OK
r-oldrel-macos-x86_64 3.0.3 2.00 170.00 172.00 OK
r-oldrel-windows-x86_64 3.0.2 8.00 87.00 95.00 OK

Additional issues

M1mac

Check Details

Version: 3.0.2
Check: tests
Result: ERROR Running 'testthat.R' [13s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(withr) > > test_check("withr") Saving _problems/test-language-12.R Saving _problems/test-language-33.R [ FAIL 2 | WARN 0 | SKIP 5 | PASS 374 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (5): 'test-defer.R:15:1', 'test-defer.R:32:1', 'test-language.R:43:1', 'test-path.R:1:1', 'test-standalone-defer.R:193:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-language.R:12:3'): can temporarily change language ───────────── <notSubsettableError/error/condition> Error in `mean[[1]]`: no se puede seleccionar elementos de un objeto de tipo 'closure' Backtrace: ▆ 1. ├─testthat::expect_error(with_language("es", mean[[1]]), "no es subconjunto") at test-language.R:12:3 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. └─withr::with_language("es", mean[[1]]) ── Error ('test-language.R:33:3'): can temporarily change language after triggering error ── <notSubsettableError/error/condition> Error in `mean[[1]]`: no se puede seleccionar elementos de un objeto de tipo 'closure' Backtrace: ▆ 1. ├─testthat::expect_error(with_language("es", mean[[1]]), "no es subconjunto") at test-language.R:33:3 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. └─withr::with_language("es", mean[[1]]) [ FAIL 2 | WARN 0 | SKIP 5 | PASS 374 ] Error: ! Test failures. Execution halted No deferred expressions to run No deferred expressions to run Flavor: r-devel-windows-x86_64