CRAN Package Check Results for Package openxlsx2

Last updated on 2026-08-13 08:55:36 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc 1.28 92.47 213.92 306.39 NOTE
r-devel-linux-x86_64-fedora-clang 1.28 82.00 206.52 288.52 NOTE
r-devel-linux-x86_64-fedora-gcc 1.28 98.00 206.56 304.56 NOTE
r-devel-windows-x86_64 1.28 124.00 479.00 603.00 NOTE
r-patched-linux-x86_64 1.28 132.94 305.19 438.13 ERROR
r-release-linux-x86_64 1.28 128.24 303.95 432.19 OK
r-release-macos-arm64 1.28 28.00 94.00 122.00 OK
r-release-macos-x86_64 1.28 76.00 355.00 431.00 OK
r-release-windows-x86_64 1.28 112.00 432.00 544.00 OK
r-oldrel-macos-arm64 1.28 24.00 98.00 122.00 OK
r-oldrel-macos-x86_64 1.28 76.00 345.00 421.00 OK
r-oldrel-windows-x86_64 1.28 129.00 556.00 685.00 OK

Check Details

Version: 1.28
Check: R code for possible problems
Result: NOTE Found calls to structure() using deprecated special names: openxlsx2/tests/testthat/test-wb_functions.R (.Names: 1) '.Names' should be changed to 'names'. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 1.28
Check: tests
Result: ERROR Running ‘testthat.R’ [147s/200s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(openxlsx2) > > test_check("openxlsx2") Saving _problems/test-read_sources-479.R [ FAIL 1 | WARN 1 | SKIP 89 | PASS 2140 ] ══ Skipped tests (89) ══════════════════════════════════════════════════════════ • !file.exists("C:\\Program Files\\7-zip\\7z.exe") is TRUE (1): 'test-loading_workbook.R:610:3' • (.Platform$OS.type == "windows" && Sys.which("tar") == "") || (.Platform$OS.type == "unix" && Sys.which("bsdtar") == "") is TRUE (1): 'test-loading_workbook.R:589:3' • On CRAN (21): 'test-class-workbook.R:1605:3', 'test-conditional_formatting.R:1390:3', 'test-conditional_formatting.R:1420:3', 'test-date_time_conversion.R:67:3', 'test-loading_workbook.R:648:3', 'test-pugi_cpp.R:208:3', 'test-read_sources.R:3:3', 'test-read_sources.R:29:3', 'test-read_sources.R:203:3', 'test-read_sources.R:322:3', 'test-read_sources.R:527:3', 'test-read_sources.R:580:3', 'test-read_sources.R:591:3', 'test-read_sources.R:597:3', 'test-read_xlsb.R:4:3', 'test-read_xlsb.R:26:3', 'test-read_xlsb.R:66:3', 'test-read_xlsb.R:165:3', 'test-read_xlsb.R:179:3', 'test-read_xlsb.R:205:3', 'test-write.R:946:3' • Skip on CRAN (66): 'test-class-comment.R:63:3', 'test-class-workbook-wrappers.R:290:3', 'test-class-workbook.R:377:3', 'test-class-workbook.R:965:3', 'test-cloneWorksheet.R:8:3', 'test-cloneWorksheet.R:22:3', 'test-cloneWorksheet.R:113:3', 'test-cloneWorksheet.R:260:3', 'test-conditional_formatting.R:290:3', 'test-conditional_formatting.R:450:3', 'test-formulas.R:3:3', 'test-loading_workbook.R:4:3', 'test-loading_workbook.R:41:3', 'test-loading_workbook.R:67:3', 'test-loading_workbook.R:85:3', 'test-loading_workbook.R:177:3', 'test-loading_workbook.R:214:3', 'test-loading_workbook.R:315:3', 'test-loading_workbook.R:337:3', 'test-loading_workbook.R:368:3', 'test-loading_workbook.R:428:3', 'test-loading_workbook.R:439:3', 'test-loading_workbook.R:682:3', 'test-loading_workbook.R:708:3', 'test-loading_workbook.R:791:3', 'test-loading_workbook_tables.R:4:3', 'test-named_regions.R:64:3', 'test-named_regions.R:124:3', 'test-read_sources.R:46:3', 'test-read_sources.R:57:3', 'test-read_sources.R:74:3', 'test-read_sources.R:82:3', 'test-read_sources.R:98:3', 'test-read_sources.R:149:3', 'test-read_sources.R:220:3', 'test-read_sources.R:238:3', 'test-read_sources.R:262:3', 'test-read_sources.R:284:3', 'test-read_sources.R:300:3', 'test-read_sources.R:344:3', 'test-read_sources.R:375:3', 'test-read_sources.R:385:3', 'test-read_sources.R:402:3', 'test-read_sources.R:411:3', 'test-read_sources.R:436:3', 'test-read_sources.R:495:3', 'test-read_sources.R:506:3', 'test-read_sources.R:515:3', 'test-read_sources.R:521:3', 'test-read_xlsb.R:126:3', 'test-read_xlsb.R:149:3', 'test-read_xlsx_correct_sheet.R:3:3', 'test-remove_worksheets.R:71:3', 'test-save.R:470:3', 'test-styles_xml.R:3:3', 'test-styles_xml.R:39:3', 'test-styles_xml.R:67:3', 'test-styles_xml.R:92:3', 'test-styles_xml.R:130:3', 'test-styles_xml.R:155:3', 'test-styles_xml.R:181:3', 'test-utils.R:515:3', 'test-wb_functions.R:5:3', 'test-wb_functions.R:152:3', 'test-write.R:149:3', 'test-write.R:185:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-read_sources.R:479:3'): file extension handling works ────────── Error in `download.file(url = xlsxFile, destfile = tmpFile, cacheOK = FALSE, mode = "wb", quiet = TRUE)`: cannot open URL 'https://github.com/JanMarvin/msoc/raw/refs/heads/main/inst/extdata/Untitled1.docx' Backtrace: ▆ 1. ├─testthat::expect_error(wb_load(docx_path), "File does not appear to be xlsx, xlsm or xlsb") at test-read_sources.R:479: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. └─openxlsx2::wb_load(docx_path) 8. └─openxlsx2:::getFile(file) 9. └─utils::download.file(...) [ FAIL 1 | WARN 1 | SKIP 89 | PASS 2140 ] Error: ! Test failures. Execution halted Flavor: r-patched-linux-x86_64