CRAN Package Check Results for Package regmedint

Last updated on 2025-12-07 12:50:36 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 9.15 199.48 208.63 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.1 5.72 54.29 60.01 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.1 45.00 307.18 352.18 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.1 20.00 304.68 324.68 ERROR
r-devel-windows-x86_64 1.0.1 10.00 201.00 211.00 ERROR
r-patched-linux-x86_64 1.0.1 8.32 188.56 196.88 ERROR
r-release-linux-x86_64 1.0.1 9.26 189.12 198.38 ERROR
r-release-macos-arm64 1.0.1 OK
r-release-macos-x86_64 1.0.1 8.00 221.00 229.00 OK
r-release-windows-x86_64 1.0.1 11.00 198.00 209.00 ERROR
r-oldrel-macos-arm64 1.0.1 OK
r-oldrel-macos-x86_64 1.0.1 6.00 182.00 188.00 OK
r-oldrel-windows-x86_64 1.0.1 14.00 267.00 281.00 ERROR

Check Details

Version: 1.0.1
Check: tests
Result: ERROR 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 Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.1
Check: package dependencies
Result: WARN Cannot process vignettes Packages suggested but not available for checking: 'knitr', 'rmarkdown', 'tidyverse', 'formattable', 'kableExtra' VignetteBuilder package required for checking but not installed: ‘knitr’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/4s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(regmedint) > > test_check("regmedint") Saving _problems/test-08_regmedint_class_user_methods-21.R [ FAIL 1 | WARN 0 | SKIP 18 | PASS 23 ] ══ Skipped tests (18) ══════════════════════════════════════════════════════════ • {tidyverse} is not installed. (18): 'test-01_regmedint_class_ui.R:10:1', 'test-03_fit_mreg.R:11:1', 'test-04_fit_yreg_linear.R:11:1', 'test-04_fit_yreg_logistic.R:11:1', 'test-04_fit_yreg_loglinear.R:13:1', 'test-04_fit_yreg_negbin.R:11:1', 'test-04_fit_yreg_poisson.R:11:1', 'test-04_fit_yreg_survAFT_exp.R:11:1', 'test-04_fit_yreg_survAFT_weibull.R:11:1', 'test-04_fit_yreg_survCox.R:11:1', 'test-05_calc_myreg.R:11:1', 'test-06_calc_myreg_helpers_coef.R:11:1', 'test-06_calc_myreg_helpers_vcov.R:11:1', 'test-07_calc_myreg_mreg_linear_yreg_linear.R:11:1', 'test-07_calc_myreg_mreg_linear_yreg_logistic.R:11:1', 'test-07_calc_myreg_mreg_logistic_yreg_linear.R:11:1', 'test-07_calc_myreg_mreg_logistic_yreg_logistic.R:11:1', 'test-09_cross_check_with_sas_macro.R:10:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-08_regmedint_class_user_methods.R:16:5'): methods for regmedint ── Error in `mutate(., male = if_else(sex == "m", 1L, 0L), status = if_else(status == 0, 0L, 1L), bili_bin = if_else(bili > median(bili), 1L, 0L), alk_phos = alk.phos)`: could not find function "mutate" Backtrace: ▆ 1. └─pbc[complete.cases(pbc), ] %>% ... at test-08_regmedint_class_user_methods.R:16:5 [ FAIL 1 | WARN 0 | SKIP 18 | PASS 23 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.1
Check: package vignettes
Result: NOTE Package has ‘vignettes’ subdirectory but apparently no vignettes. Perhaps the ‘VignetteBuilder’ information is missing from the DESCRIPTION file? Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.1
Check: dependencies in R code
Result: NOTE Namespace in Imports field not imported from: ‘Deriv’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [77s/233s] 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 Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [64s/75s] 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 Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.1
Check: tests
Result: ERROR Running 'testthat.R' [39s] 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 Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [41s/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 Flavor: r-patched-linux-x86_64

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [42s/55s] 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 Flavor: r-release-linux-x86_64

Version: 1.0.1
Check: tests
Result: ERROR Running 'testthat.R' [58s] 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 Flavor: r-oldrel-windows-x86_64