Running 'testthat.R' [38s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(openxlsx)
  > 
  > test_check("openxlsx")
  [ FAIL 3 | WARN 3 | SKIP 3 | PASS 1166 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  • empty test (3): 'test-trying_to_break_openxlsx.R:7:1',
    'test-worksheet_ordering.R:246:1', 'test-write_data_to_sheetData.R:189:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-read_sources.R:14:3'): read.xlsx from different sources ────────
  Error in `download.file(url = xlsxFile, destfile = tmpFile, cacheOK = FALSE, 
      mode = "wb", quiet = TRUE)`: cannot open URL 'https://github.com/ycphs/openxlsx/raw/master/inst/extdata/readTest.xlsx'
  Backtrace:
      ▆
   1. ├─openxlsx::read.xlsx(xlsxFile) at test-read_sources.R:14:3
   2. └─openxlsx:::read.xlsx.default(xlsxFile)
   3.   └─openxlsx:::getFile(xlsxFile)
   4.     └─utils::download.file(...)
  ── Error ('test-read_sources.R:40:3'): loadWorkbook from different sources ─────
  Error in `download.file(url = xlsxFile, destfile = tmpFile, cacheOK = FALSE, 
      mode = "wb", quiet = TRUE)`: cannot open URL 'https://github.com/ycphs/openxlsx/raw/master/inst/extdata/readTest.xlsx'
  Backtrace:
      ▆
   1. └─openxlsx::loadWorkbook(xlsxFile) at test-read_sources.R:40:3
   2.   └─openxlsx:::getFile(file)
   3.     └─utils::download.file(...)
  ── Error ('test-read_sources.R:56:3'): getDateOrigin from different sources ────
  Error in `download.file(url = xlsxFile, destfile = tmpFile, cacheOK = FALSE, 
      mode = "wb", quiet = TRUE)`: cannot open URL 'https://github.com/ycphs/openxlsx/raw/master/inst/extdata/readTest.xlsx'
  Backtrace:
      ▆
   1. └─openxlsx::getDateOrigin(xlsxFile) at test-read_sources.R:56:3
   2.   └─openxlsx:::getFile(xlsxFile)
   3.     └─utils::download.file(...)
  
  [ FAIL 3 | WARN 3 | SKIP 3 | PASS 1166 ]
  Error: Test failures
  Execution halted