Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > 
  > library(testthat)
  > library(metaDigitise)
  > library(mockery)
  > 
  > testthat::test_check("metaDigitise")
  Saving _problems/test-calibrate_coords-13.R
  Saving _problems/test-calibrate_coords-36.R
  Saving _problems/test-calibrate_coords-63.R
  Saving _problems/test-graph_rotation-16.R
  Saving _problems/test-import_metaDigitise-112.R
  Saving _problems/test-metaDigitise-24.R
  Saving _problems/test-misc_func-45.R
  Saving _problems/test-misc_func-58.R
  Saving _problems/test-misc_func-74.R
  Saving _problems/test-misc_func-89.R
  Saving _problems/test-misc_func-95.R
  Saving _problems/test-misc_func-115.R
  Saving _problems/test-misc_func-140.R
  Saving _problems/test-point_extraction-14.R
  [ FAIL 14 | WARN 0 | SKIP 0 | PASS 35 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-calibrate_coords.R:6:2'): Checking cal_coords.. ────────────────
  <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-calibrate_coords.R:6:9
   2.   └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   3.     └─lifecycle:::deprecate_stop0(msg)
   4.       └─rlang::cnd_signal(...)
  ── Error ('test-calibrate_coords.R:29:2'): Checking getVals.. ──────────────────
  <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-calibrate_coords.R:29:9
   2.   └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   3.     └─lifecycle:::deprecate_stop0(msg)
   4.       └─rlang::cnd_signal(...)
  ── Error ('test-calibrate_coords.R:51:2'): Checking user_calibrate.. ───────────
  <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-calibrate_coords.R:51:9
   2.   └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   3.     └─lifecycle:::deprecate_stop0(msg)
   4.       └─rlang::cnd_signal(...)
  ── Error ('test-graph_rotation.R:6:2'): Checking user_rotate_graph.. ───────────
  <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-graph_rotation.R:6:9
   2.   └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   3.     └─lifecycle:::deprecate_stop0(msg)
   4.       └─rlang::cnd_signal(...)
  ── Error ('test-import_metaDigitise.R:107:2'): Checking import_menu works as expected.. ──
  <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-import_metaDigitise.R:107:9
   2.   └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   3.     └─lifecycle:::deprecate_stop0(msg)
   4.       └─rlang::cnd_signal(...)
  ── Error ('test-metaDigitise.R:21:2'): Checking specify_type works as expected.. ──
  <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-metaDigitise.R:21:9
   2.   └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   3.     └─lifecycle:::deprecate_stop0(msg)
   4.       └─rlang::cnd_signal(...)
  ── Error ('test-misc_func.R:42:2'): Checking user_options.. ────────────────────
  <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::expect_equal(...) at test-misc_func.R:42:9
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─metaDigitise (local) user_options_tester_func("question", c("a", "b", "c"))
   5.   └─testthat::with_mock(readline = function(question) "a", user_options(...)) at test-misc_func.R:35:9
   6.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   7.       └─lifecycle:::deprecate_stop0(msg)
   8.         └─rlang::cnd_signal(...)
  ── Error ('test-misc_func.R:52:2'): Checking user_unique.. ─────────────────────
  <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::expect_equal(...) at test-misc_func.R:52:9
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─testthat::with_mock(...)
   5.   └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   6.     └─lifecycle:::deprecate_stop0(msg)
   7.       └─rlang::cnd_signal(...)
  ── Error ('test-misc_func.R:71:2'): Checking user_numeric.. ────────────────────
  <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::expect_equal(...) at test-misc_func.R:71:9
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─metaDigitise (local) user_numeric_tester_func("question", user_entry = "1")
   5.   └─testthat::with_mock(...) at test-misc_func.R:64:9
   6.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   7.       └─lifecycle:::deprecate_stop0(msg)
   8.         └─rlang::cnd_signal(...)
  ── Error ('test-misc_func.R:86:2'): Checking user_count.. ──────────────────────
  <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::expect_equal(...) at test-misc_func.R:86:9
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─metaDigitise (local) user_count_tester_func("question")
   5.   └─testthat::with_mock(readline = function(question) "1", user_count(...)) at test-misc_func.R:79:9
   6.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   7.       └─lifecycle:::deprecate_stop0(msg)
   8.         └─rlang::cnd_signal(...)
  ── Error ('test-misc_func.R:95:1'): Checking user_base.. ───────────────────────
  <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-misc_func.R:95:1
   2.   └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   3.     └─lifecycle:::deprecate_stop0(msg)
   4.       └─rlang::cnd_signal(...)
  ── Error ('test-misc_func.R:112:2'): Checking ask_variable.. ───────────────────
  <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::expect_equal(...) at test-misc_func.R:112:9
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─metaDigitise (local) ask_variable_tester_func(plot_type = "scatterplot")
   5.   └─testthat::with_mock(readline = function(question) "x", ask_variable(...)) at test-misc_func.R:105:9
   6.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   7.       └─lifecycle:::deprecate_stop0(msg)
   8.         └─rlang::cnd_signal(...)
  ── Error ('test-misc_func.R:132:2'): Checking knownN.. ─────────────────────────
  <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-misc_func.R:132:9
   2.   └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   3.     └─lifecycle:::deprecate_stop0(msg)
   4.       └─rlang::cnd_signal(...)
  ── Error ('test-point_extraction.R:9:2'): Checking point_extraction.. ──────────
  <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::expect_equal(...) at test-point_extraction.R:17:9
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─metaDigitise (local) point_extraction_tester_func(object = list(plot_type = "mean_error"))
   5.   └─testthat::with_mock(...) at test-point_extraction.R:9:9
   6.     └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   7.       └─lifecycle:::deprecate_stop0(msg)
   8.         └─rlang::cnd_signal(...)
  
  [ FAIL 14 | WARN 0 | SKIP 0 | PASS 35 ]
  Error:
  ! Test failures.
  Execution halted