Running ‘testthat.R’ [138s/82s]
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 61 | PASS 1301 ]
  
  ══ Skipped tests (61) ══════════════════════════════════════════════════════════
  • 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:196:3', 'test-read_sources.R:308:3',
    'test-read_xlsb.R:3:3', 'test-read_xlsb.R:24:3', 'test-read_xlsb.R:64:3',
    'test-write.R:662:3'
  • Skip on CRAN (51): 'test-class-comment.R:85:3',
    'test-class-workbook.R:332:3', 'test-class-workbook.R:741:3',
    'test-cloneWorksheet.R:8:3', 'test-cloneWorksheet.R:22:3',
    'test-cloneWorksheet.R:235: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_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:249:3', 'test-read_sources.R:271:3',
    'test-read_sources.R:286:3', 'test-read_sources.R:330:3',
    'test-read_sources.R:364: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:300:3', 'test-wb_functions.R:5:3',
    'test-wb_functions.R:139:3', 'test-class-workbook-wrappers.R:234:3',
    'test-write.R:134:3', 'test-write.R:170:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-class-workbook-wrappers.R:454:3'): wb_add_thread() is a wrapper ──
  wbWorkbook$add_thread$threadComments[[1]] vs wb_add_thread$threadComments[[1]]
  - "<threadedComment ref=\"A1\" dT=\"2023-11-22T22:53:55Z\" personId=\"{460E9460-459E-2B92-2C65-9044D4BEF1C4}\" id=\"{460E9460-459E-2B92-2C65-9044D4BEF1C4}\" done=\"0\"><text>test</text></threadedComment>"
  + "<threadedComment ref=\"A1\" dT=\"2023-11-22T22:53:54Z\" personId=\"{460E9460-459E-2B92-2C65-9044D4BEF1C4}\" id=\"{460E9460-459E-2B92-2C65-9044D4BEF1C4}\" done=\"0\"><text>test</text></threadedComment>"
  
  [ FAIL 1 | WARN 0 | SKIP 61 | PASS 1301 ]
  Error: Test failures
  Execution halted