Running ‘testthat.R’ [95s/112s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(openxlsx2)
  > 
  > test_check("openxlsx2")
  Loading required package: mschart
  Loading required package: rvg
  Loading required package: ggplot2
  [ FAIL 1 | WARN 0 | SKIP 59 | PASS 1100 ]
  
  ══ Skipped tests (59) ══════════════════════════════════════════════════════════
  • On CRAN (8): 'test-aaa.R:7:3', '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:192:3',
    'test-read_sources.R:304:3', 'test-write.R:593:3'
  • Testfile does not exist (50): 'test-class-comment.R:61:3',
    'test-class-workbook-wrappers.R:214:3', 'test-class-workbook.R:321:3',
    'test-class-workbook.R:730:3', 'test-cloneWorksheet.R:8:3',
    'test-cloneWorksheet.R:22: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:40:3', 'test-loading_workbook.R:50:3',
    'test-loading_workbook.R:140:3', 'test-loading_workbook.R:176:3',
    'test-loading_workbook.R:261:3', 'test-loading_workbook.R:283:3',
    'test-loading_workbook.R:309:3', 'test-loading_workbook.R:367:3',
    'test-loading_workbook.R:378:3', 'test-loading_workbook_tables.R:4:3',
    'test-named_regions.R:56:3', 'test-named_regions.R:116: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:208:3', 'test-read_sources.R:225:3',
    'test-read_sources.R:245:3', 'test-read_sources.R:267:3',
    'test-read_sources.R:282:3', 'test-read_sources.R:326:3',
    'test-read_sources.R:360: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:91:3', 'test-wb_functions.R:5:3',
    'test-wb_functions.R:137:3', 'test-write.R:134:3', 'test-write.R:170:3'
  • empty test (1): 'test-class-chart-sheet.R:2:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-class-workbook-wrappers.R:136:3'): wb_remove_creators() is a wrapper ──
  wbWorkbook$remove_creators$core vs wb_remove_creators$core
  - "<cp:coreProperties xmlns:cp=\"http://schemas.openxmlformats.org/package/2006/metadata/core-properties\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:dcterms=\"http://purl.org/dc/terms/\" xmlns:dcmitype=\"http://purl.org/dc/dcmitype/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><dc:creator/><cp:lastModifiedBy/><dcterms:created xsi:type=\"dcterms:W3CDTF\">2023-07-12T08:28:12Z</dcterms:created></cp:coreProperties>"
  + "<cp:coreProperties xmlns:cp=\"http://schemas.openxmlformats.org/package/2006/metadata/core-properties\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:dcterms=\"http://purl.org/dc/terms/\" xmlns:dcmitype=\"http://purl.org/dc/dcmitype/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><dc:creator/><cp:lastModifiedBy/><dcterms:created xsi:type=\"dcterms:W3CDTF\">2023-07-12T08:28:11Z</dcterms:created></cp:coreProperties>"
  
  [ FAIL 1 | WARN 0 | SKIP 59 | PASS 1100 ]
  Error: Test failures
  Execution halted