Running ‘testthat.R’ [5s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(shiny.benchmark)
  > 
  > test_check("shiny.benchmark")
  Saving _problems/test-load_example-9.R
  Saving _problems/test-load_example-52.R
  Saving _problems/test-load_example-74.R
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 7 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-load_example.R:9:5'): Load example creates correct structure ───
  <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
  Error: `local_mock()` was deprecated in testthat 3.2.0 and is now defunct.
  ℹ Please use `local_mocked_bindings()` instead.
  Backtrace:
      ▆
   1. └─base::eval(...)
   2.   └─base::eval(...)
   3.     └─testthat::local_mock(menu = function(...) stop("Opps, shouldn't reach this")) at test-load_example.R:9:5
   4.       └─lifecycle::deprecate_stop("3.2.0", "local_mock()", "local_mocked_bindings()")
   5.         └─lifecycle:::deprecate_stop0(msg)
   6.           └─rlang::cnd_signal(...)
  ── Error ('test-load_example.R:52:5'): Does not create load_examples on non-existing directory ──
  <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
  Error: `local_mock()` was deprecated in testthat 3.2.0 and is now defunct.
  ℹ Please use `local_mocked_bindings()` instead.
  Backtrace:
      ▆
   1. └─base::eval(...)
   2.   └─base::eval(...)
   3.     └─testthat::local_mock(menu = function(...) stop("Opps, shouldn't reach this")) at test-load_example.R:52:5
   4.       └─lifecycle::deprecate_stop("3.2.0", "local_mock()", "local_mocked_bindings()")
   5.         └─lifecycle:::deprecate_stop0(msg)
   6.           └─rlang::cnd_signal(...)
  ── Error ('test-load_example.R:74:5'): Does not create load_examples if there is a file in directory ──
  <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
  Error: `local_mock()` was deprecated in testthat 3.2.0 and is now defunct.
  ℹ Please use `local_mocked_bindings()` instead.
  Backtrace:
      ▆
   1. └─base::eval(...)
   2.   └─base::eval(...)
   3.     └─testthat::local_mock(menu = function(...) 2) at test-load_example.R:74:5
   4.       └─lifecycle::deprecate_stop("3.2.0", "local_mock()", "local_mocked_bindings()")
   5.         └─lifecycle:::deprecate_stop0(msg)
   6.           └─rlang::cnd_signal(...)
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 7 ]
  Error:
  ! Test failures.
  Execution halted