Running ‘testthat.R’ [122s/62s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(openxlsx2)
  > 
  > test_check("openxlsx2")
  Starting 2 test processes
  [ FAIL 1 | WARN 0 | SKIP 69 | PASS 1624 ]
  
  ══ Skipped tests (69) ══════════════════════════════════════════════════════════
  • On CRAN (10): 'test-date_time_conversion.R:63:3', 'test-pugi_cpp.R:191:3',
    'test-read_sources.R:3:3', 'test-read_sources.R:29:3',
    'test-read_sources.R:197:3', 'test-read_sources.R:308:3',
    'test-read_xlsb.R:3:3', 'test-read_xlsb.R:24:3', 'test-read_xlsb.R:68:3',
    'test-write.R:893:3'
  • Skip on CRAN (59): 'test-class-comment.R:86:3',
    'test-class-workbook.R:362:3', 'test-class-workbook.R:846: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:260:3', 'test-conditional_formatting.R:403: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:61:3', 'test-loading_workbook.R:151:3',
    'test-loading_workbook.R:187:3', 'test-loading_workbook.R:272:3',
    'test-loading_workbook.R:294:3', 'test-loading_workbook.R:320:3',
    'test-loading_workbook.R:380:3', 'test-loading_workbook.R:391:3',
    'test-loading_workbook.R:496: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:213:3', 'test-read_sources.R:230:3',
    'test-read_sources.R:249:3', 'test-read_sources.R:271:3',
    'test-read_sources.R:286:3', 'test-read_sources.R:330:3',
    'test-read_sources.R:361:3', 'test-read_sources.R:369:3',
    'test-read_sources.R:385:3', 'test-read_sources.R:392:3',
    'test-read_sources.R:417: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:316: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-class-workbook-wrappers.R:269:3',
    'test-write.R:148:3', 'test-write.R:184:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-read_from_created_wb.R:173:3'): reading with pre defined types works ──
  `got` (`actual`) not equal to `dat` (`expected`).
  
    `actual[[4]]`: 1729991700 1729991699 1729991698 1729991697 1729991696
  `expected[[4]]`: 1729988100 1729988099 1729988098 1729988097 1729988096
  
  [ FAIL 1 | WARN 0 | SKIP 69 | PASS 1624 ]
  Error: Test failures
  Execution halted