* using log directory ‘/Users/ripley/R/packages/tests-devel/openxlsx2.Rcheck’ * using R Under development (unstable) (2026-01-14 r89303) * using platform: aarch64-apple-darwin25.2.0 * R was compiled by Apple clang version 17.0.0 (clang-1700.6.3.2) GNU Fortran (GCC) 14.2.0 * running under: macOS Tahoe 26.2 * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘openxlsx2/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘openxlsx2’ version ‘1.23’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘openxlsx2’ can be installed ... [26s/25s] OK * used C++ compiler: ‘Apple clang version 17.0.0 (clang-1700.6.3.2)’ * used SDK: ‘MacOSX26.2.sdk’ * checking installed package size ... INFO installed size is 5.4Mb sub-directories of 1Mb or more: R 2.0Mb * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [48s/50s] [48s/50s] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(openxlsx2) > > test_check("openxlsx2") Saving _problems/test-wb_styles-1056.R Saving _problems/test-wb_styles-1062.R Saving _problems/test-wb_styles-1188.R Saving _problems/test-wb_styles-1267.R [ FAIL 4 | WARN 0 | SKIP 80 | PASS 2028 ] ══ Skipped tests (80) ══════════════════════════════════════════════════════════ • !file.exists("C:\\Program Files\\7-zip\\7z.exe") is TRUE (1): 'test-loading_workbook.R:583:3' • On CRAN (15): 'test-conditional_formatting.R:1390:3', 'test-conditional_formatting.R:1420:3', 'test-date_time_conversion.R:66:3', 'test-pugi_cpp.R:203:3', 'test-read_sources.R:3:3', 'test-read_sources.R:29:3', 'test-read_sources.R:197:3', 'test-read_sources.R:312:3', 'test-read_sources.R:517: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:944:3' • Skip on CRAN (64): 'test-class-comment.R:63:3', 'test-class-workbook-wrappers.R:288: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: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:20:3', 'test-loading_workbook.R:46:3', 'test-loading_workbook.R:64:3', 'test-loading_workbook.R:156:3', 'test-loading_workbook.R:193:3', 'test-loading_workbook.R:294:3', 'test-loading_workbook.R:316:3', 'test-loading_workbook.R:347:3', 'test-loading_workbook.R:407:3', 'test-loading_workbook.R:418:3', 'test-loading_workbook.R:622:3', 'test-loading_workbook.R:648: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:92:3', 'test-read_sources.R:143:3', 'test-read_sources.R:214:3', 'test-read_sources.R:232:3', 'test-read_sources.R:252:3', 'test-read_sources.R:274:3', 'test-read_sources.R:290:3', 'test-read_sources.R:334:3', 'test-read_sources.R:365:3', 'test-read_sources.R:375:3', 'test-read_sources.R:392:3', 'test-read_sources.R:401:3', 'test-read_sources.R:426:3', 'test-read_sources.R:485:3', 'test-read_sources.R:496:3', 'test-read_sources.R:505:3', 'test-read_sources.R:511: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:71:3', 'test-save.R:469: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:510:3', 'test-wb_functions.R:5:3', 'test-wb_functions.R:139:3', 'test-write.R:148:3', 'test-write.R:184:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-wb_styles.R:1056:3'): date and time formatting works ───────── Expected `got` to be identical to "01:45:30 PM". Differences: `actual`: "01:45:30 p.m." `expected`: "01:45:30 PM" ── Failure ('test-wb_styles.R:1062:3'): date and time formatting works ───────── Expected `got` to be identical to "01:45:30 PM". Differences: `actual`: "01:45:30 p.m." `expected`: "01:45:30 PM" ── Failure ('test-wb_styles.R:1188:3'): special formatting works ─────────────── Expected `got` to be identical to "08:15:01 P". Differences: `actual`: "08:15:01 p" `expected`: "08:15:01 P" ── Failure ('test-wb_styles.R:1267:3'): apply_numfmts works ──────────────────── Expected `got` to equal `exp`. Differences: actual vs expected daily_time - actual[1, ] 08:30:00 a.m. + expected[1, ] 08:30:00 AM - actual[2, ] 09:45:00 a.m. + expected[2, ] 09:45:00 AM actual[3, ] NA - actual[4, ] 11:15:00 a.m. + expected[4, ] 11:15:00 AM - actual[5, ] 12:00:00 p.m. + expected[5, ] 12:00:00 PM actual$daily_time | expected$daily_time [1] "08:30:00 a.m." - "08:30:00 AM" [1] [2] "09:45:00 a.m." - "09:45:00 AM" [2] [3] NA | NA [3] [4] "11:15:00 a.m." - "11:15:00 AM" [4] [5] "12:00:00 p.m." - "12:00:00 PM" [5] [ FAIL 4 | WARN 0 | SKIP 80 | PASS 2028 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [15s/15s] OK * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/Users/ripley/R/packages/tests-devel/openxlsx2.Rcheck/00check.log’ for details. 127.49 real 111.28 user 13.77 sys