Running ‘testthat.R’ [44s/50s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(regmedint)
  > 
  > test_check("regmedint")
  Saving _problems/test-05_calc_myreg-133.R
  Saving _problems/test-05_calc_myreg-174.R
  Saving _problems/test-05_calc_myreg-215.R
  Saving _problems/test-05_calc_myreg-256.R
  [ FAIL 4 | WARN 0 | SKIP 2 | PASS 4128 ]
  
  ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
  • empty test (2): 'test-01_regmedint_class_ui.R:402:9',
    'test-01_regmedint_class_ui.R:421:9'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-05_calc_myreg.R:112:9'): calc_myreg / calls calc_myreg_mreg_linear_yreg_linear when mreg linear / yreg linear ──
  <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-05_calc_myreg.R:112:9
   2.   └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   3.     └─lifecycle:::deprecate_stop0(msg)
   4.       └─rlang::cnd_signal(...)
  ── Error ('test-05_calc_myreg.R:153:9'): calc_myreg / calls calc_myreg_mreg_linear_yreg_logistic when mreg linear / yreg logistic ──
  <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-05_calc_myreg.R:153:9
   2.   └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   3.     └─lifecycle:::deprecate_stop0(msg)
   4.       └─rlang::cnd_signal(...)
  ── Error ('test-05_calc_myreg.R:194:9'): calc_myreg / calls calc_myreg_mreg_logistic_yreg_linear when mreg logistic / yreg linear ──
  <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-05_calc_myreg.R:194:9
   2.   └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   3.     └─lifecycle:::deprecate_stop0(msg)
   4.       └─rlang::cnd_signal(...)
  ── Error ('test-05_calc_myreg.R:235:9'): calc_myreg / calls calc_myreg_mreg_logistic_yreg_logistic when mreg logistic / yreg logistic ──
  <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-05_calc_myreg.R:235:9
   2.   └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   3.     └─lifecycle:::deprecate_stop0(msg)
   4.       └─rlang::cnd_signal(...)
  
  [ FAIL 4 | WARN 0 | SKIP 2 | PASS 4128 ]
  Error:
  ! Test failures.
  Execution halted