Running ‘testthat.R’ [7s/23s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(BiocManager)
  Bioconductor version '3.22' requires R version '4.5'; use `version = '3.23'`
    with R version 4.6; see https://bioconductor.org/install
  > 
  > test_check("BiocManager")
  Saving _problems/test_version-373.R
  Saving _problems/test_version-385.R
  Saving _problems/test_version-424.R
  [ FAIL 3 | WARN 2 | SKIP 28 | PASS 75 ]
  
  ══ Skipped tests (28) ══════════════════════════════════════════════════════════
  • On CRAN (9): 'test_repositories.R:80:5', 'test_repositories.R:173:5',
    'test_repositories.R:211:5', 'test_version.R:17:5', 'test_version.R:39:5',
    'test_version.R:235:5', 'test_version.R:246:5', 'test_version.R:277:5',
    'test_version.R:428:5'
  • mis-configuration, R 4.6.0, Bioconductor 3.22 (18): 'test_install.R:26:5',
    'test_install.R:44:5', 'test_install.R:218:5', 'test_install.R:347:5',
    'test_repositories.R:4:5', 'test_repositories.R:13:5',
    'test_repositories.R:19:5', 'test_repositories.R:25:5',
    'test_repositories.R:33:5', 'test_repositories.R:89:5',
    'test_repositories.R:100:5', 'test_repositories.R:163:5', 'test_valid.R:4:5',
    'test_version.R:91:5', 'test_version.R:106:5', 'test_version.R:146:5',
    'test_version.R:193:5', 'test_version.R:327:5'
  • too idiosyncratic for standardized testing (1): 'test_install.R:179:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_version.R:365:5'): .version_BiocVersion returns .version_sentinel output ──
  <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_version.R:365:5
   2.   └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   3.     └─lifecycle:::deprecate_stop0(msg)
   4.       └─rlang::cnd_signal(...)
  ── Error ('test_version.R:377:5'): .version_map_get_offline() works ────────────
  <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_version.R:377:5
   2.   └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   3.     └─lifecycle:::deprecate_stop0(msg)
   4.       └─rlang::cnd_signal(...)
  ── Error ('test_version.R:413:5'): version chooses best ────────────────────────
  <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_version.R:413:5
   2.   └─lifecycle::deprecate_stop("3.2.0", "with_mock()", "with_mocked_bindings()")
   3.     └─lifecycle:::deprecate_stop0(msg)
   4.       └─rlang::cnd_signal(...)
  
  [ FAIL 3 | WARN 2 | SKIP 28 | PASS 75 ]
  Error:
  ! Test failures.
  Execution halted