CRAN Package Check Results for Package REDCapTidieR

Last updated on 2024-11-03 11:49:40 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.0 8.80 91.08 99.88 OK
r-devel-linux-x86_64-debian-gcc 1.2.0 0.56 1.69 2.25 ERROR
r-devel-linux-x86_64-fedora-clang 1.2.0 163.83 OK
r-devel-linux-x86_64-fedora-gcc 1.2.0 166.81 OK
r-devel-windows-x86_64 1.2.0 12.00 109.00 121.00 OK
r-patched-linux-x86_64 1.2.0 10.73 84.73 95.46 OK
r-release-linux-x86_64 1.2.0 8.24 84.51 92.75 ERROR
r-release-macos-arm64 1.2.0 53.00 OK
r-release-macos-x86_64 1.2.0 70.00 OK
r-release-windows-x86_64 1.2.0 11.00 110.00 121.00 OK
r-oldrel-macos-arm64 1.2.0 60.00 OK
r-oldrel-macos-x86_64 1.2.0 77.00 OK
r-oldrel-windows-x86_64 1.2.0 13.00 132.00 145.00 OK

Check Details

Version: 1.2.0
Check: whether package can be installed
Result: ERROR Installation failed. Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.2.0
Check: package dependencies
Result: NOTE Package suggested but not available for checking: ‘openxlsx2’ Flavor: r-release-linux-x86_64

Version: 1.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [21s/24s] 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 107 | SKIP 5 | PASS 310 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (5): 'test-lint-free.R:2:3', 'test-read_redcap.R:1:1', 'test-supertibble.R:2:3', '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 `.` to run without any errors. i Actually got a <rlib_error_package_not_found> with text: 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 107 | SKIP 5 | PASS 310 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64