- using R Under development (unstable) (2025-11-13 r89017)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 21.1.5
flang version 21.1.5
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘metaDigitise/DESCRIPTION’ ... OK
- this is package ‘metaDigitise’ version ‘1.0.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘metaDigitise’ can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... NOTE
Problems with news in ‘NEWS.md’:
No news entries found.
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [11s/15s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking LazyData ... INFO
'LazyData' is specified without a 'data' directory
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... ERROR
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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... OK
- checking PDF version of manual ... [9s/23s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE