Running ‘testthat.R’ [29s/32s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(huxtable)
  > 
  > 
  > we_are_in_R_CMD_check <- TRUE
  > test_check("huxtable")
  Original model not retained as part of coeftest object.
  i For additional model summary information (r.squared, df, etc.), consider passing `glance.coeftest()` an object where the underlying model has been saved, i.e.  `lmtest::coeftest(..., save = TRUE)`.
  This message is displayed once per session.
  # weights:  9 (4 variable)
  initial  value 35.155593 
  iter  10 value 23.131901
  final  value 23.129234 
  converged
  [ FAIL 1 | WARN 3 | SKIP 18 | PASS 1219 ]
  
  ══ Skipped tests (18) ══════════════════════════════════════════════════════════
  • Just too hard to do at the moment. (1): 'test-number-formatting.R:166:3'
  • On CRAN (9): 'test-latex-dependencies.R:6:3',
    'test-latex-dependencies.R:32:3', 'test-latex-dependencies.R:49:3',
    'test-print.R:149:1', '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'
  • {flextable} is not installed (2): 'test-flextable.R:1:1',
    'test-quick-output.R:39:3'
  • {ftExtra} is not installed (1): 'test-markdown.R:32:3'
  • {knitr} is not installed (5): 'test-knit-print.R:1:1',
    'test-markdown.R:51:3', 'test-miscellaneous.R:48:3',
    'test-miscellaneous.R:59:3', 'test-yy-end-to-end.R:1:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-print.R:144:3'): hux_logo works ────────────────────────────────
  Error in `assert_package("guess_knitr_output_format", "knitr")`: `guess_knitr_output_format` requires the "knitr" package. To install, type:
  install.packages("knitr")
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(hux_logo()) at test-print.R:144:3
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. └─huxtable::hux_logo()
   10.   └─huxtable::guess_knitr_output_format()
   11.     └─huxtable:::assert_package("guess_knitr_output_format", "knitr")
  
  [ FAIL 1 | WARN 3 | SKIP 18 | PASS 1219 ]
  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', …,
  'x86_64-w64-mingw32/x64/validate-outputs/text_properties.tex', and
  'x86_64-w64-mingw32/x64/validate-outputs/text_properties.txt'
  Error:
  ! Test failures.
  Execution halted