The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
Last updated on 2026-05-05 05:52:36 CEST.
| Package | ERROR | OK |
|---|---|---|
| REDCapTidieR | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
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
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.