Running ‘testthat.R’ [93s/111s]
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 (19): '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-print.R:260: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'
  
  ══ 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