- using R version 4.6.1 Patched (2026-08-10 r90391)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.3.0-2) 15.3.0
GNU Fortran (Debian 15.3.0-2) 15.3.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-08-12 17:27:29 UTC
- checking for file ‘openxlsx2/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘openxlsx2’ version ‘1.28’
- 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 ... OK
See the install log for details.
- used C++ compiler: ‘g++-15 (Debian 15.3.0-2) 15.3.0’
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/1s] OK
- checking loading without being on the library search path ... [0s/1s] 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 ... [38s/46s] OK
- checking Rd files ... [2s/3s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 use of SHLIB_OPENMP_*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 ... [12s/15s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [147s/201s] ERROR
Running ‘testthat.R’ [147s/200s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(openxlsx2)
>
> test_check("openxlsx2")
Saving _problems/test-read_sources-479.R
[ FAIL 1 | WARN 1 | SKIP 89 | PASS 2140 ]
══ Skipped tests (89) ══════════════════════════════════════════════════════════
• !file.exists("C:\\Program Files\\7-zip\\7z.exe") is TRUE (1):
'test-loading_workbook.R:610:3'
• (.Platform$OS.type == "windows" && Sys.which("tar") == "") ||
(.Platform$OS.type == "unix" && Sys.which("bsdtar") == "") is TRUE (1):
'test-loading_workbook.R:589:3'
• On CRAN (21): 'test-class-workbook.R:1605:3',
'test-conditional_formatting.R:1390:3',
'test-conditional_formatting.R:1420:3', 'test-date_time_conversion.R:67:3',
'test-loading_workbook.R:648:3', 'test-pugi_cpp.R:208:3',
'test-read_sources.R:3:3', 'test-read_sources.R:29:3',
'test-read_sources.R:203:3', 'test-read_sources.R:322:3',
'test-read_sources.R:527:3', 'test-read_sources.R:580:3',
'test-read_sources.R:591:3', 'test-read_sources.R:597:3',
'test-read_xlsb.R:4:3', 'test-read_xlsb.R:26:3', 'test-read_xlsb.R:66:3',
'test-read_xlsb.R:165:3', 'test-read_xlsb.R:179:3', 'test-read_xlsb.R:205:3',
'test-write.R:946:3'
• Skip on CRAN (66): 'test-class-comment.R:63:3',
'test-class-workbook-wrappers.R:290:3', 'test-class-workbook.R:377:3',
'test-class-workbook.R:965: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:41:3',
'test-loading_workbook.R:67:3', 'test-loading_workbook.R:85:3',
'test-loading_workbook.R:177:3', 'test-loading_workbook.R:214:3',
'test-loading_workbook.R:315:3', 'test-loading_workbook.R:337:3',
'test-loading_workbook.R:368:3', 'test-loading_workbook.R:428:3',
'test-loading_workbook.R:439:3', 'test-loading_workbook.R:682:3',
'test-loading_workbook.R:708:3', 'test-loading_workbook.R:791: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:98:3',
'test-read_sources.R:149:3', 'test-read_sources.R:220:3',
'test-read_sources.R:238:3', 'test-read_sources.R:262:3',
'test-read_sources.R:284:3', 'test-read_sources.R:300:3',
'test-read_sources.R:344:3', 'test-read_sources.R:375:3',
'test-read_sources.R:385:3', 'test-read_sources.R:402:3',
'test-read_sources.R:411:3', 'test-read_sources.R:436:3',
'test-read_sources.R:495:3', 'test-read_sources.R:506:3',
'test-read_sources.R:515:3', 'test-read_sources.R:521:3',
'test-read_xlsb.R:126:3', 'test-read_xlsb.R:149:3',
'test-read_xlsx_correct_sheet.R:3:3', 'test-remove_worksheets.R:71:3',
'test-save.R:470:3', 'test-styles_xml.R:3:3', 'test-styles_xml.R:39:3',
'test-styles_xml.R:67:3', 'test-styles_xml.R:92:3',
'test-styles_xml.R:130:3', 'test-styles_xml.R:155:3',
'test-styles_xml.R:181:3', 'test-utils.R:515:3', 'test-wb_functions.R:5:3',
'test-wb_functions.R:152:3', 'test-write.R:149:3', 'test-write.R:185:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-read_sources.R:479:3'): file extension handling works ──────────
Error in `download.file(url = xlsxFile, destfile = tmpFile, cacheOK = FALSE, mode = "wb", quiet = TRUE)`: cannot open URL 'https://github.com/JanMarvin/msoc/raw/refs/heads/main/inst/extdata/Untitled1.docx'
Backtrace:
▆
1. ├─testthat::expect_error(wb_load(docx_path), "File does not appear to be xlsx, xlsm or xlsb") at test-read_sources.R:479:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─openxlsx2::wb_load(docx_path)
8. └─openxlsx2:::getFile(file)
9. └─utils::download.file(...)
[ FAIL 1 | WARN 1 | SKIP 89 | PASS 2140 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [31s/43s] OK
- checking PDF version of manual ... [19s/24s] OK
- checking HTML version of manual ... [20s/25s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR