- using R Under development (unstable) (2025-12-18 r89199)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-11) 15.2.0
GNU Fortran (Debian 15.2.0-11) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘openxlsx2/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘openxlsx2’ version ‘1.22’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [3s/4s] OK
- 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.2.0-11) 15.2.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/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] 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 ... [22s/27s] OK
- checking Rd files ... [1s/2s] 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 ... NOTE
File ‘openxlsx2/libs/openxlsx2.so’:
Found non-API call to R: ‘ATTRIB’
Compiled code should not call non-API entry points in R.
See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [8s/10s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [110s/127s] ERROR
Running ‘testthat.R’ [110s/127s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(openxlsx2)
>
> test_check("openxlsx2")
Saving _problems/test-class-workbook-610.R
[ FAIL 1 | WARN 0 | SKIP 81 | PASS 1801 ]
══ Skipped tests (81) ══════════════════════════════════════════════════════════
• !file.exists("C:\\Program Files\\7-zip\\7z.exe") is TRUE (1):
'test-loading_workbook.R:550:3'
• (.Platform$OS.type == "windows" && Sys.which("tar") == "") ||
(.Platform$OS.type == "unix" && Sys.which("bsdtar") == "") is TRUE (1):
'test-loading_workbook.R:532:3'
• On CRAN (15): 'test-conditional_formatting.R:1101:3',
'test-conditional_formatting.R:1129:3', 'test-date_time_conversion.R:66:3',
'test-pugi_cpp.R:188:3', 'test-read_sources.R:3:3',
'test-read_sources.R:29:3', 'test-read_sources.R:196:3',
'test-read_sources.R:307:3', 'test-read_sources.R:505:3',
'test-read_xlsb.R:3:3', 'test-read_xlsb.R:24:3', 'test-read_xlsb.R:68:3',
'test-read_xlsb.R:169:3', 'test-read_xlsb.R:182:3', 'test-write.R:930:3'
• Skip on CRAN (64): 'test-class-comment.R:63:3',
'test-class-workbook-wrappers.R:286:3', 'test-class-workbook.R:377:3',
'test-class-workbook.R:873: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:289:3',
'test-conditional_formatting.R:449: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:60:3',
'test-loading_workbook.R:150:3', 'test-loading_workbook.R:186:3',
'test-loading_workbook.R:283:3', 'test-loading_workbook.R:305:3',
'test-loading_workbook.R:331:3', 'test-loading_workbook.R:391:3',
'test-loading_workbook.R:402:3', 'test-loading_workbook.R:583:3',
'test-loading_workbook.R:607: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:248:3', 'test-read_sources.R:270:3',
'test-read_sources.R:285:3', 'test-read_sources.R:329:3',
'test-read_sources.R:360:3', 'test-read_sources.R:368:3',
'test-read_sources.R:383:3', 'test-read_sources.R:390:3',
'test-read_sources.R:415:3', 'test-read_sources.R:474:3',
'test-read_sources.R:485:3', 'test-read_sources.R:493:3',
'test-read_sources.R:499: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:309: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-write.R:146:3', 'test-write.R:182:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-class-workbook.R:606:3'): add_drawing works ────────────────────
Error in ``[.data.table`(dataset, , `:=`(c(".fake_id."), list(seq_len(.N))), by = c(x, group))`: attempt access index 3/3 in VECTOR_ELT
Backtrace:
▆
1. └─mschart::ms_linechart(...) at test-class-workbook.R:606:3
2. └─mschart:::ms_chart(...)
3. └─mschart (local) excel_data_setup(out)
4. └─mschart:::dcast_data(data = x$data, x = x$x, y = x$y, group = x$group)
5. ├─...[]
6. └─data.table:::`[.data.table`(...)
[ FAIL 1 | WARN 0 | SKIP 81 | PASS 1801 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [23s/34s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘Update-from-openxlsx.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘Update-from-openxlsx.Rmd’
--- re-building ‘conditional-formatting.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘conditional-formatting.Rmd’
--- re-building ‘openxlsx2.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘openxlsx2.Rmd’
--- re-building ‘openxlsx2_charts_manual.Rmd’ using rmarkdown
Quitting from openxlsx2_charts_manual.Rmd:101-165 [mschart]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 3/3 in VECTOR_ELT
---
Backtrace:
▆
1. └─mschart::ms_linechart(...)
2. └─mschart:::ms_chart(...)
3. └─mschart (local) excel_data_setup(out)
4. └─mschart:::dcast_data(data = x$data, x = x$x, y = x$y, group = x$group)
5. ├─...[]
6. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'openxlsx2_charts_manual.Rmd' failed with diagnostics:
attempt access index 3/3 in VECTOR_ELT
--- failed re-building ‘openxlsx2_charts_manual.Rmd’
--- re-building ‘openxlsx2_formulas_manual.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘openxlsx2_formulas_manual.Rmd’
--- re-building ‘openxlsx2_read_to_df.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘openxlsx2_read_to_df.Rmd’
--- re-building ‘openxlsx2_style_manual.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘openxlsx2_style_manual.Rmd’
SUMMARY: processing the following file failed:
‘openxlsx2_charts_manual.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [10s/14s] OK
- checking HTML version of manual ... [13s/17s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs, 1 NOTE