CRAN Package Check Results for Package openxlsx2

Last updated on 2025-12-20 09:49:55 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.22 114.94 344.87 459.81 OK
r-devel-linux-x86_64-debian-gcc 1.22 79.75 216.61 296.36 ERROR
r-devel-linux-x86_64-fedora-clang 1.22 201.00 580.24 781.24 OK
r-devel-linux-x86_64-fedora-gcc 1.22 221.00 435.06 656.06 OK
r-devel-windows-x86_64 1.22 110.00 425.00 535.00 OK
r-patched-linux-x86_64 1.22 117.87 318.53 436.40 OK
r-release-linux-x86_64 1.22 117.14 317.17 434.31 OK
r-release-macos-arm64 1.22 23.00 76.00 99.00 OK
r-release-macos-x86_64 1.22 79.00 362.00 441.00 OK
r-release-windows-x86_64 1.22 114.00 412.00 526.00 OK
r-oldrel-macos-arm64 1.22 24.00 76.00 100.00 NOTE
r-oldrel-macos-x86_64 1.22 78.00 398.00 476.00 NOTE
r-oldrel-windows-x86_64 1.22 111.00 515.00 626.00 NOTE

Check Details

Version: 1.22
Check: compiled code
Result: NOTE File ‘openxlsx2/libs/openxlsx2.so’: Found non-API call to R: ‘ATTRIB’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points. Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.22
Check: tests
Result: ERROR Running ‘testthat.R’ [110s/127s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(openxlsx2) > > test_check("openxlsx2") Saving _problems/test-class-workbook-610.R [ FAIL 1 | WARN 0 | SKIP 81 | PASS 1801 ] ══ Skipped tests (81) ══════════════════════════════════════════════════════════ • !file.exists("C:\\Program Files\\7-zip\\7z.exe") is TRUE (1): 'test-loading_workbook.R:550:3' • (.Platform$OS.type == "windows" && Sys.which("tar") == "") || (.Platform$OS.type == "unix" && Sys.which("bsdtar") == "") is TRUE (1): 'test-loading_workbook.R:532:3' • On CRAN (15): 'test-conditional_formatting.R:1101:3', 'test-conditional_formatting.R:1129:3', 'test-date_time_conversion.R:66:3', 'test-pugi_cpp.R:188:3', 'test-read_sources.R:3:3', 'test-read_sources.R:29:3', 'test-read_sources.R:196:3', 'test-read_sources.R:307:3', 'test-read_sources.R:505:3', 'test-read_xlsb.R:3:3', 'test-read_xlsb.R:24:3', 'test-read_xlsb.R:68:3', 'test-read_xlsb.R:169:3', 'test-read_xlsb.R:182:3', 'test-write.R:930:3' • Skip on CRAN (64): 'test-class-comment.R:63:3', 'test-class-workbook-wrappers.R:286:3', 'test-class-workbook.R:377:3', 'test-class-workbook.R:873:3', 'test-cloneWorksheet.R:8:3', 'test-cloneWorksheet.R:22:3', 'test-cloneWorksheet.R:113:3', 'test-cloneWorksheet.R:259:3', 'test-conditional_formatting.R:289:3', 'test-conditional_formatting.R:449:3', 'test-formulas.R:3:3', 'test-loading_workbook.R:4:3', 'test-loading_workbook.R:17:3', 'test-loading_workbook.R:42:3', 'test-loading_workbook.R:60:3', 'test-loading_workbook.R:150:3', 'test-loading_workbook.R:186:3', 'test-loading_workbook.R:283:3', 'test-loading_workbook.R:305:3', 'test-loading_workbook.R:331:3', 'test-loading_workbook.R:391:3', 'test-loading_workbook.R:402:3', 'test-loading_workbook.R:583:3', 'test-loading_workbook.R:607:3', 'test-loading_workbook_tables.R:4:3', 'test-named_regions.R:62:3', 'test-named_regions.R:122: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:92:3', 'test-read_sources.R:142:3', 'test-read_sources.R:212:3', 'test-read_sources.R:229:3', 'test-read_sources.R:248:3', 'test-read_sources.R:270:3', 'test-read_sources.R:285:3', 'test-read_sources.R:329:3', 'test-read_sources.R:360:3', 'test-read_sources.R:368:3', 'test-read_sources.R:383:3', 'test-read_sources.R:390:3', 'test-read_sources.R:415:3', 'test-read_sources.R:474:3', 'test-read_sources.R:485:3', 'test-read_sources.R:493:3', 'test-read_sources.R:499:3', 'test-read_xlsb.R:132:3', 'test-read_xlsb.R:154:3', 'test-read_xlsx_correct_sheet.R:3:3', 'test-remove_worksheets.R:69:3', 'test-save.R:309:3', 'test-styles_xml.R:3:3', 'test-styles_xml.R:39:3', 'test-styles_xml.R:67:3', 'test-styles_xml.R:94:3', 'test-styles_xml.R:119:3', 'test-styles_xml.R:145:3', 'test-utils.R:492:3', 'test-wb_functions.R:5:3', 'test-wb_functions.R:139:3', 'test-write.R:146:3', 'test-write.R:182:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-class-workbook.R:606:3'): add_drawing works ──────────────────── Error in ``[.data.table`(dataset, , `:=`(c(".fake_id."), list(seq_len(.N))), by = c(x, group))`: attempt access index 3/3 in VECTOR_ELT Backtrace: ▆ 1. └─mschart::ms_linechart(...) at test-class-workbook.R:606:3 2. └─mschart:::ms_chart(...) 3. └─mschart (local) excel_data_setup(out) 4. └─mschart:::dcast_data(data = x$data, x = x$x, y = x$y, group = x$group) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) [ FAIL 1 | WARN 0 | SKIP 81 | PASS 1801 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.22
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘Update-from-openxlsx.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘Update-from-openxlsx.Rmd’ --- re-building ‘conditional-formatting.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘conditional-formatting.Rmd’ --- re-building ‘openxlsx2.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘openxlsx2.Rmd’ --- re-building ‘openxlsx2_charts_manual.Rmd’ using rmarkdown Quitting from openxlsx2_charts_manual.Rmd:101-165 [mschart] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 3/3 in VECTOR_ELT --- Backtrace: ▆ 1. └─mschart::ms_linechart(...) 2. └─mschart:::ms_chart(...) 3. └─mschart (local) excel_data_setup(out) 4. └─mschart:::dcast_data(data = x$data, x = x$x, y = x$y, group = x$group) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'openxlsx2_charts_manual.Rmd' failed with diagnostics: attempt access index 3/3 in VECTOR_ELT --- failed re-building ‘openxlsx2_charts_manual.Rmd’ --- re-building ‘openxlsx2_formulas_manual.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘openxlsx2_formulas_manual.Rmd’ --- re-building ‘openxlsx2_read_to_df.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘openxlsx2_read_to_df.Rmd’ --- re-building ‘openxlsx2_style_manual.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘openxlsx2_style_manual.Rmd’ SUMMARY: processing the following file failed: ‘openxlsx2_charts_manual.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.22
Check: installed package size
Result: NOTE installed size is 13.6Mb sub-directories of 1Mb or more: R 2.0Mb libs 9.2Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64