Running ‘testthat.R’ [7s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("texreg")
  Version:  1.39.4
  Date:     2024-07-23
  Author:   Philip Leifeld (University of Manchester)
  
  Consider submitting praise using the praise or praise_interactive functions.
  Please cite the JSS article in your publications -- see citation("texreg").
  > 
  > test_check("texreg")
  Saving _problems/test-huxtablereg-15.R
  Saving _problems/test-texreg-323.R
  [ FAIL 2 | WARN 1 | SKIP 33 | PASS 201 ]
  
  ══ Skipped tests (33) ══════════════════════════════════════════════════════════
  • On CRAN (32): 'test-extract.R:6:3', 'test-extract.R:28:3',
    'test-extract.R:67:3', 'test-extract.R:90:3', 'test-extract.R:162:3',
    'test-extract.R:193:3', 'test-extract.R:214:3', 'test-extract.R:239:3',
    'test-extract.R:280:3', 'test-extract.R:305:3', 'test-extract.R:328:3',
    'test-extract.R:367:3', 'test-extract.R:415:3', 'test-extract.R:441:3',
    'test-extract.R:467:3', 'test-extract.R:501:3', 'test-extract.R:543:3',
    'test-extract.R:591:3', 'test-extract.R:615:3', 'test-extract.R:651:3',
    'test-extract.R:738:3', 'test-extract.R:761:3', 'test-extract.R:795:3',
    'test-extract.R:824:3', 'test-extract.R:859:3', 'test-extract.R:926:3',
    'test-extract.R:979:3', 'test-extract.R:1001:3', 'test-extract.R:1030:3',
    'test-extract.R:1054:3', 'test-extract.R:1086:3', 'test-extract.R:1178:3'
  • {biglm} is not installed (1): 'test-plotreg.R:39:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-huxtablereg.R:13:3'): huxtablereg gives useful error message if huxtable not installed ──
  <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
  Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.
  ℹ Please use `with_mocked_bindings()` instead.
  Backtrace:
      ▆
   1. └─testthat::with_mock(...) at test-huxtablereg.R:13:3
   2.   └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   3.     └─lifecycle:::deprecate_stop0(msg)
   4.       └─rlang::cnd_signal(...)
  ── Error ('test-texreg.R:319:3'): knitreg function works ───────────────────────
  <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
  Error: `with_mock()` was deprecated in testthat 3.2.0 and is now defunct.
  ℹ Please use `with_mocked_bindings()` instead.
  Backtrace:
      ▆
   1. └─testthat::with_mock(...) at test-texreg.R:319:3
   2.   └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   3.     └─lifecycle:::deprecate_stop0(msg)
   4.       └─rlang::cnd_signal(...)
  
  [ FAIL 2 | WARN 1 | SKIP 33 | PASS 201 ]
  Error:
  ! Test failures.
  Execution halted