Last updated on 2026-05-03 18:49:23 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.2.4 | 8.50 | 94.25 | 102.75 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.2.4 | 6.28 | 70.04 | 76.32 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.2.4 | 16.00 | 139.00 | 155.00 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 1.2.4 | 14.00 | 143.85 | 157.85 | OK | |
| r-devel-windows-x86_64 | 1.2.4 | 15.00 | 134.00 | 149.00 | OK | |
| r-patched-linux-x86_64 | 1.2.4 | 9.44 | 85.03 | 94.47 | OK | |
| r-release-linux-x86_64 | 1.2.4 | 7.15 | 86.70 | 93.85 | OK | |
| r-release-macos-arm64 | 1.2.4 | 2.00 | 28.00 | 30.00 | OK | |
| r-release-macos-x86_64 | 1.2.4 | 6.00 | 111.00 | 117.00 | ERROR | |
| r-release-windows-x86_64 | 1.2.4 | 12.00 | 110.00 | 122.00 | OK | |
| r-oldrel-macos-arm64 | 1.2.4 | OK | ||||
| r-oldrel-macos-x86_64 | 1.2.4 | 6.00 | 81.00 | 87.00 | OK | |
| r-oldrel-windows-x86_64 | 1.2.4 | 18.00 | 134.00 | 152.00 | OK |
Version: 1.2.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [9s/13s]
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/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(REDCapTidieR)
>
> test_check("REDCapTidieR")
[ FAIL 5 | WARN 8 | SKIP 5 | PASS 311 ]
══ Skipped tests (5) ═══════════════════════════════════════════════════════════
• On CRAN (5): 'test-lint-free.R:2:3', 'test-read_redcap.R:1:1',
'test-supertibble.R:1:1', 'test-utils.R:214:3', 'test-write.R:341:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-write.R:32:5'): write_redcap_xlsx without labels works ─────────
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `write_redcap_xlsx(supertbl, file = "supertbl_wb.xlsx", include_metadata_sheet = FALSE, include_toc_sheet = FALSE, recode_logical = FALSE)`: The package "openxlsx2" is required to write Excel files.
Backtrace:
▆
1. ├─withr::with_tempdir(...) at test-write.R:31:3
2. │ └─withr::with_dir(tmp, code)
3. │ └─base::force(code)
4. └─REDCapTidieR::write_redcap_xlsx(...) at test-write.R:32:5
5. └─rlang::check_installed("openxlsx2", reason = "to write Excel files.")
── Error ('test-write.R:69:5'): write_redcap_xlsx with labels works ────────────
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `write_redcap_xlsx(labelled_supertbl, add_labelled_column_headers = TRUE, file = "labelled_supertbl_wb.xlsx", include_toc_sheet = FALSE, include_metadata_sheet = FALSE, recode_logical = FALSE)`: The package "openxlsx2" is required to write Excel files.
Backtrace:
▆
1. ├─withr::with_tempdir(...) at test-write.R:68:3
2. │ └─withr::with_dir(tmp, code)
3. │ └─base::force(code)
4. └─REDCapTidieR::write_redcap_xlsx(...) at test-write.R:69:5
5. └─rlang::check_installed("openxlsx2", reason = "to write Excel files.")
── Error ('test-write.R:103:5'): write_redcap_xlsx has expected supertibble and metadata outputs ──
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `write_redcap_xlsx(supertbl, add_labelled_column_headers = FALSE, file = "default_supertbl_wb.xlsx", include_toc_sheet = TRUE, include_metadata_sheet = TRUE, recode_logical = FALSE)`: The package "openxlsx2" is required to write Excel files.
Backtrace:
▆
1. ├─withr::with_tempdir(...) at test-write.R:102:3
2. │ └─withr::with_dir(tmp, code)
3. │ └─base::force(code)
4. └─REDCapTidieR::write_redcap_xlsx(...) at test-write.R:103:5
5. └─rlang::check_installed("openxlsx2", reason = "to write Excel files.")
── Failure ('test-write.R:166:5'): write_redcap_xlsx checks work ───────────────
Expected `.` not to throw any errors.
Actually got a <rlib_error_package_not_found> with message:
The package "openxlsx2" is required to write Excel files.
Backtrace:
▆
1. ├─withr::with_tempdir(...) at test-write.R:157:3
2. │ └─withr::with_dir(tmp, code)
3. │ └─base::force(code)
4. ├─... %>% expect_no_error() at test-write.R:166:5
5. └─testthat::expect_no_error(.)
── Error ('test-write.R:308:5'): key argument checks work ──────────────────────
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `write_redcap_xlsx(supertbl, file = "temp.docx")`: The package "openxlsx2" is required to write Excel files.
Backtrace:
▆
1. ├─withr::with_tempdir(...) at test-write.R:307:3
2. │ └─withr::with_dir(tmp, code)
3. │ └─base::force(code)
4. ├─testthat::expect_warning(...) at test-write.R:308:5
5. │ └─testthat:::expect_condition_matching_(...)
6. │ └─testthat:::quasi_capture(...)
7. │ ├─testthat (local) .capture(...)
8. │ │ └─base::withCallingHandlers(...)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. └─REDCapTidieR::write_redcap_xlsx(supertbl, file = "temp.docx")
11. └─rlang::check_installed("openxlsx2", reason = "to write Excel files.")
[ FAIL 5 | WARN 8 | SKIP 5 | PASS 311 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-macos-x86_64