- using R Under development (unstable) (2025-09-03 r88788 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.2.0
GNU Fortran (GCC) 14.2.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'huxtable/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'huxtable' version '5.7.0'
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'huxtable' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... 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 ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [0s] OK
- checking whether startup messages can be suppressed ... [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 ... [17s] OK
- checking Rd files ... [2s] OK
- checking Rd metadata ... 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 contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking sizes of PDF files under 'inst/doc' ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [32s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [86s] ERROR
Running 'testthat.R' [86s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(huxtable)
>
>
> we_are_in_R_CMD_check <- TRUE
> test_check("huxtable")
Attaching package: 'tidyselect'
The following object is masked from 'package:testthat':
matches
# weights: 9 (4 variable)
initial value 35.155593
iter 10 value 23.131901
final value 23.129234
converged
[ FAIL 10 | WARN 86 | SKIP 24 | PASS 1353 ]
══ Skipped tests (24) ══════════════════════════════════════════════════════════
• 0-length tables don't work in flextable yet (1): 'test-flextable.R:81:3'
• Awaiting ftExtra improvements (1): 'test-markdown.R:38:3'
• Couldn't unload dplyr namespace (2): 'test-miscellaneous.R:50:46',
'test-miscellaneous.R:61:46'
• Just too hard to do at the moment. (1): 'test-number-formatting.R:166:3'
• On CRAN (18): 'test-latex-dependencies.R:6:3',
'test-latex-dependencies.R:32:3', 'test-latex-dependencies.R:49:3',
'test-markdown.R:54:3', 'test-print.R:155:3', 'test-quick-output.R:58:3',
'test-quick-output.R:74:3', 'test-quick-output.R:87:3',
'test-validate-outputs.R:1:1', 'test-yy-end-to-end.R:100:3',
'test-yy-end-to-end.R:130:3', 'test-yy-end-to-end.R:138:3',
'test-yy-end-to-end.R:144:3', 'test-yy-end-to-end.R:159:3',
'test-yy-end-to-end.R:248:3', 'test-yy-end-to-end.R:264:3',
'test-yy-end-to-end.R:303:3', 'test-yy-end-to-end.R:319:3'
• On Windows (1): 'test-print.R:259:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-huxreg.R:38:3'): huxreg confidence intervals work ────────────
`huxreg(...)` produced warnings.
── Failure ('test-huxreg.R:88:3'): huxreg bold_signif works ────────────────────
`hr1 <- huxreg(lm1, bold_signif = 0.05)` produced warnings.
── Failure ('test-huxreg.R:89:3'): huxreg bold_signif works ────────────────────
unname(bold(hr1)) (`actual`) not identical to matrix(c(rep(FALSE, 11), rep(TRUE, 4), rep(FALSE, 5)), 10, 2) (`expected`).
`dim(actual)`: 7 2
`dim(expected)`: 10 2
actual | expected
[6] FALSE | FALSE [6]
[7] FALSE | FALSE [7]
[8] FALSE | FALSE [8]
[9] TRUE - FALSE [9]
[10] TRUE - FALSE [10]
[11] TRUE - FALSE [11]
[12] TRUE | TRUE [12]
[13] FALSE - TRUE [13]
[14] FALSE - TRUE [14]
- TRUE [15]
... ... ... and 5 more ...
── Failure ('test-huxreg.R:96:3'): huxreg error_pos works ──────────────────────
`hr1 <- huxreg(lm1, lm2, error_pos = "right")` produced warnings.
── Failure ('test-huxreg.R:109:3'): huxreg number_format works correctly ───────
number_format(hr)[9, 2] (`actual`) not equal to list(4) (`expected`).
`actual[[1]]` is a character vector ('%.3g')
`expected[[1]]` is a double vector (4)
── Failure ('test-huxreg.R:113:3'): huxreg number_format works correctly ───────
number_format(hr2)[9, 2] (`actual`) not equal to list("%5.3f") (`expected`).
`actual[[1]]`: "%.3g"
`expected[[1]]`: "%5.3f"
── Failure ('test-huxreg.R:202:3'): can pass generics::tidy arguments to huxreg ──
`huxreg(...)` produced warnings.
── Failure ('test-huxreg.R:203:3'): can pass generics::tidy arguments to huxreg ──
`huxreg(lm1, glm1, tidy_args = list(exponentiate = FALSE), statistics = "nobs")` produced warnings.
── Failure ('test-huxreg.R:210:3'): bugfix: tidy_args works when argument list contains a list ──
`huxreg(lm1, lm2, tidy_args = list(ignored = list()))` produced warnings.
── Error ('test-huxreg.R:232:3'): tidy_override ────────────────────────────────
Error in `glance.tidy_override(fixed_lm1)`: Element "r.squared" not found in results of `glance()` on original object.
Did you misspell a column name, or forget to add `extend = TRUE`?
Backtrace:
▆
1. ├─testthat::expect_equal(broom::glance(fixed_lm1)$r.squared, 0.95) at test-huxreg.R:232:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─broom::glance(fixed_lm1)
5. └─huxtable:::glance.tidy_override(fixed_lm1)
[ FAIL 10 | WARN 86 | SKIP 24 | PASS 1353 ]
Deleting unused snapshots:
• aarch64-apple-darwin20/validate-outputs/borders-typst.pdf
• aarch64-apple-darwin20/validate-outputs/borders.html
• aarch64-apple-darwin20/validate-outputs/borders.png
• aarch64-apple-darwin20/validate-outputs/borders.rtf
• aarch64-apple-darwin20/validate-outputs/borders.svg
• aarch64-apple-darwin20/validate-outputs/borders.tex
• aarch64-apple-darwin20/validate-outputs/borders.txt
• aarch64-apple-darwin20/validate-outputs/cell_spanning-typst.pdf
• aarch64-apple-darwin20/validate-outputs/cell_spanning.html
• aarch64-apple-darwin20/validate-outputs/cell_spanning.png
• aarch64-apple-darwin20/validate-outputs/cell_spanning.rtf
• aarch64-apple-darwin20/validate-outputs/cell_spanning.svg
• aarch64-apple-darwin20/validate-outputs/cell_spanning.tex
• aarch64-apple-darwin20/validate-outputs/cell_spanning.txt
• aarch64-apple-darwin20/validate-outputs/content_formatting-typst.pdf
• aarch64-apple-darwin20/validate-outputs/content_formatting.html
• aarch64-apple-darwin20/validate-outputs/content_formatting.png
• aarch64-apple-darwin20/validate-outputs/content_formatting.rtf
• aarch64-apple-darwin20/validate-outputs/content_formatting.svg
• aarch64-apple-darwin20/validate-outputs/content_formatting.tex
• aarch64-apple-darwin20/validate-outputs/content_formatting.txt
• aarch64-apple-darwin20/validate-outputs/dimensions-typst.pdf
• aarch64-apple-darwin20/validate-outputs/dimensions.html
• aarch64-apple-darwin20/validate-outputs/dimensions.png
• aarch64-apple-darwin20/validate-outputs/dimensions.rtf
• aarch64-apple-darwin20/validate-outputs/dimensions.svg
• aarch64-apple-darwin20/validate-outputs/dimensions.tex
• aarch64-apple-darwin20/validate-outputs/dimensions.txt
• aarch64-apple-darwin20/validate-outputs/table_caption_tests-1.png
• aarch64-apple-darwin20/validate-outputs/table_caption_tests-1.svg
• aarch64-apple-darwin20/validate-outputs/table_caption_tests-2.png
• aarch64-apple-darwin20/validate-outputs/table_caption_tests-2.svg
• aarch64-apple-darwin20/validate-outputs/table_caption_tests-3.png
• aarch64-apple-darwin20/validate-outputs/table_caption_tests-3.svg
• aarch64-apple-darwin20/validate-outputs/table_caption_tests-4.png
• aarch64-apple-darwin20/validate-outputs/table_caption_tests-4.svg
• aarch64-apple-darwin20/validate-outputs/table_caption_tests-typst.pdf
• aarch64-apple-darwin20/validate-outputs/table_caption_tests.html
• aarch64-apple-darwin20/validate-outputs/table_caption_tests.rtf
• aarch64-apple-darwin20/validate-outputs/table_caption_tests.tex
• aarch64-apple-darwin20/validate-outputs/table_caption_tests.txt
• aarch64-apple-darwin20/validate-outputs/table_pos_tests-1.png
• aarch64-apple-darwin20/validate-outputs/table_pos_tests-1.svg
• aarch64-apple-darwin20/validate-outputs/table_pos_tests-2.png
• aarch64-apple-darwin20/validate-outputs/table_pos_tests-2.svg
• aarch64-apple-darwin20/validate-outputs/table_pos_tests-3.png
• aarch64-apple-darwin20/validate-outputs/table_pos_tests-3.svg
• aarch64-apple-darwin20/validate-outputs/table_pos_tests-typst.pdf
• aarch64-apple-darwin20/validate-outputs/table_pos_tests.html
• aarch64-apple-darwin20/validate-outputs/table_pos_tests.rtf
• aarch64-apple-darwin20/validate-outputs/table_pos_tests.tex
• aarch64-apple-darwin20/validate-outputs/table_pos_tests.txt
• aarch64-apple-darwin20/validate-outputs/table_width_tests-1.png
• aarch64-apple-darwin20/validate-outputs/table_width_tests-1.svg
• aarch64-apple-darwin20/validate-outputs/table_width_tests-2.png
• aarch64-apple-darwin20/validate-outputs/table_width_tests-2.svg
• aarch64-apple-darwin20/validate-outputs/table_width_tests-3.png
• aarch64-apple-darwin20/validate-outputs/table_width_tests-3.svg
• aarch64-apple-darwin20/validate-outputs/table_width_tests-typst.pdf
• aarch64-apple-darwin20/validate-outputs/table_width_tests.html
• aarch64-apple-darwin20/validate-outputs/table_width_tests.rtf
• aarch64-apple-darwin20/validate-outputs/table_width_tests.tex
• aarch64-apple-darwin20/validate-outputs/table_width_tests.txt
• aarch64-apple-darwin20/validate-outputs/text_alignment-typst.pdf
• aarch64-apple-darwin20/validate-outputs/text_alignment.html
• aarch64-apple-darwin20/validate-outputs/text_alignment.png
• aarch64-apple-darwin20/validate-outputs/text_alignment.rtf
• aarch64-apple-darwin20/validate-outputs/text_alignment.svg
• aarch64-apple-darwin20/validate-outputs/text_alignment.tex
• aarch64-apple-darwin20/validate-outputs/text_alignment.txt
• aarch64-apple-darwin20/validate-outputs/text_effects-typst.pdf
• aarch64-apple-darwin20/validate-outputs/text_effects.html
• aarch64-apple-darwin20/validate-outputs/text_effects.png
• aarch64-apple-darwin20/validate-outputs/text_effects.rtf
• aarch64-apple-darwin20/validate-outputs/text_effects.svg
• aarch64-apple-darwin20/validate-outputs/text_effects.tex
• aarch64-apple-darwin20/validate-outputs/text_effects.txt
• aarch64-apple-darwin20/validate-outputs/text_properties-typst.pdf
• aarch64-apple-darwin20/validate-outputs/text_properties.html
• aarch64-apple-darwin20/validate-outputs/text_properties.png
• aarch64-apple-darwin20/validate-outputs/text_properties.rtf
• aarch64-apple-darwin20/validate-outputs/text_properties.svg
• aarch64-apple-darwin20/validate-outputs/text_properties.tex
• aarch64-apple-darwin20/validate-outputs/text_properties.txt
• x86_64-pc-linux-gnu/validate-outputs/borders.html
• x86_64-pc-linux-gnu/validate-outputs/borders.rtf
• x86_64-pc-linux-gnu/validate-outputs/borders.tex
• x86_64-pc-linux-gnu/validate-outputs/borders.txt
• x86_64-pc-linux-gnu/validate-outputs/cell_spanning.html
• x86_64-pc-linux-gnu/validate-outputs/cell_spanning.rtf
• x86_64-pc-linux-gnu/validate-outputs/cell_spanning.tex
• x86_64-pc-linux-gnu/validate-outputs/cell_spanning.txt
• x86_64-pc-linux-gnu/validate-outputs/content_formatting.html
• x86_64-pc-linux-gnu/validate-outputs/content_formatting.rtf
• x86_64-pc-linux-gnu/validate-outputs/content_formatting.tex
• x86_64-pc-linux-gnu/validate-outputs/content_formatting.txt
• x86_64-pc-linux-gnu/validate-outputs/dimensions.html
• x86_64-pc-linux-gnu/validate-outputs/dimensions.rtf
• x86_64-pc-linux-gnu/validate-outputs/dimensions.tex
• x86_64-pc-linux-gnu/validate-outputs/dimensions.txt
• x86_64-pc-linux-gnu/validate-outputs/table_caption_tests.html
• x86_64-pc-linux-gnu/validate-outputs/table_caption_tests.rtf
• x86_64-pc-linux-gnu/validate-outputs/table_caption_tests.tex
• x86_64-pc-linux-gnu/validate-outputs/table_caption_tests.txt
• x86_64-pc-linux-gnu/validate-outputs/table_width_tests.html
• x86_64-pc-linux-gnu/validate-outputs/table_width_tests.rtf
• x86_64-pc-linux-gnu/validate-outputs/table_width_tests.tex
• x86_64-pc-linux-gnu/validate-outputs/table_width_tests.txt
• x86_64-pc-linux-gnu/validate-outputs/text_alignment.html
• x86_64-pc-linux-gnu/validate-outputs/text_alignment.rtf
• x86_64-pc-linux-gnu/validate-outputs/text_alignment.tex
• x86_64-pc-linux-gnu/validate-outputs/text_alignment.txt
• x86_64-pc-linux-gnu/validate-outputs/text_effects.html
• x86_64-pc-linux-gnu/validate-outputs/text_effects.rtf
• x86_64-pc-linux-gnu/validate-outputs/text_effects.tex
• x86_64-pc-linux-gnu/validate-outputs/text_effects.txt
• x86_64-pc-linux-gnu/validate-outputs/text_properties.html
• x86_64-pc-linux-gnu/validate-outputs/text_properties.rtf
• x86_64-pc-linux-gnu/validate-outputs/text_properties.tex
• x86_64-pc-linux-gnu/validate-outputs/text_properties.txt
• x86_64-w64-mingw32/x64/validate-outputs/borders.html
• x86_64-w64-mingw32/x64/validate-outputs/borders.rtf
• x86_64-w64-mingw32/x64/validate-outputs/borders.tex
• x86_64-w64-mingw32/x64/validate-outputs/borders.txt
• x86_64-w64-mingw32/x64/validate-outputs/cell_spanning.html
• x86_64-w64-mingw32/x64/validate-outputs/cell_spanning.rtf
• x86_64-w64-mingw32/x64/validate-outputs/cell_spanning.tex
• x86_64-w64-mingw32/x64/validate-outputs/cell_spanning.txt
• x86_64-w64-mingw32/x64/validate-outputs/content_formatting.html
• x86_64-w64-mingw32/x64/validate-outputs/content_formatting.rtf
• x86_64-w64-mingw32/x64/validate-outputs/content_formatting.tex
• x86_64-w64-mingw32/x64/validate-outputs/content_formatting.txt
• x86_64-w64-mingw32/x64/validate-outputs/dimensions.html
• x86_64-w64-mingw32/x64/validate-outputs/dimensions.rtf
• x86_64-w64-mingw32/x64/validate-outputs/dimensions.tex
• x86_64-w64-mingw32/x64/validate-outputs/dimensions.txt
• x86_64-w64-mingw32/x64/validate-outputs/table_caption_tests.html
• x86_64-w64-mingw32/x64/validate-outputs/table_caption_tests.rtf
• x86_64-w64-mingw32/x64/validate-outputs/table_caption_tests.tex
• x86_64-w64-mingw32/x64/validate-outputs/table_caption_tests.txt
• x86_64-w64-mingw32/x64/validate-outputs/table_width_tests.html
• x86_64-w64-mingw32/x64/validate-outputs/table_width_tests.rtf
• x86_64-w64-mingw32/x64/validate-outputs/table_width_tests.tex
• x86_64-w64-mingw32/x64/validate-outputs/table_width_tests.txt
• x86_64-w64-mingw32/x64/validate-outputs/text_alignment.html
• x86_64-w64-mingw32/x64/validate-outputs/text_alignment.rtf
• x86_64-w64-mingw32/x64/validate-outputs/text_alignment.tex
• x86_64-w64-mingw32/x64/validate-outputs/text_alignment.txt
• x86_64-w64-mingw32/x64/validate-outputs/text_effects.html
• x86_64-w64-mingw32/x64/validate-outputs/text_effects.rtf
• x86_64-w64-mingw32/x64/validate-outputs/text_effects.tex
• x86_64-w64-mingw32/x64/validate-outputs/text_effects.txt
• x86_64-w64-mingw32/x64/validate-outputs/text_properties.html
• x86_64-w64-mingw32/x64/validate-outputs/text_properties.rtf
• x86_64-w64-mingw32/x64/validate-outputs/text_properties.tex
• x86_64-w64-mingw32/x64/validate-outputs/text_properties.txt
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [4s] OK
- checking PDF version of manual ... [25s] OK
- checking HTML version of manual ... [18s] OK
- DONE
Status: 1 ERROR