Running ‘testthat.R’ [9s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(BiocManager)
  > 
  > .skip_if_misconfigured <-
  +     function()
  + {
  +     R_version <- getRversion()
  +     bioc_version <- packageVersion("BiocVersion")[, 1:2]
  +     if (R_version == "4.0.0" && bioc_version == "3.9")
  +         skip("mis-configuration, R 4.0, Bioc 3.9")
  + }
  > 
  > test_check("BiocManager")
  ── 1. Error: .install_repos() works (@test_install.R#26)  ──────────────────────
  there is no package called 'BiocVersion'
  1: .skip_if_misconfigured() at testthat/test_install.R:26
  2: packageVersion("BiocVersion")
  
  ── 2. Error: .install_github() works (@test_install.R#33)  ─────────────────────
  there is no package called 'BiocVersion'
  1: .skip_if_misconfigured() at testthat/test_install.R:33
  2: packageVersion("BiocVersion")
  
  ── 3. Error: repositories() returns all repos (@test_repositories.R#4)  ────────
  there is no package called 'BiocVersion'
  1: .skip_if_misconfigured() at testthat/test_repositories.R:4
  2: packageVersion("BiocVersion")
  
  ── 4. Error: repositories() does not return any NA repos (@test_repositories.R#1
  there is no package called 'BiocVersion'
  1: .skip_if_misconfigured() at testthat/test_repositories.R:11
  2: packageVersion("BiocVersion")
  
  ── 5. Error: repositories() returns expected order (@test_repositories.R#17)  ──
  there is no package called 'BiocVersion'
  1: .skip_if_misconfigured() at testthat/test_repositories.R:17
  2: packageVersion("BiocVersion")
  
  ── 6. Error: 'site_repository=' inserted correctly (@test_repositories.R#23)  ──
  there is no package called 'BiocVersion'
  1: .skip_if_misconfigured() at testthat/test_repositories.R:23
  2: packageVersion("BiocVersion")
  
  ── 7. Error: BiocVersion version matches with .version_map() (@test_version.R#15
  there is no package called 'BiocVersion'
  1: .skip_if_misconfigured() at testthat/test_version.R:152
  2: packageVersion("BiocVersion")
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 73 | SKIPPED: 1 | WARNINGS: 0 | FAILED: 7 ]
  1. Error: .install_repos() works (@test_install.R#26) 
  2. Error: .install_github() works (@test_install.R#33) 
  3. Error: repositories() returns all repos (@test_repositories.R#4) 
  4. Error: repositories() does not return any NA repos (@test_repositories.R#11) 
  5. Error: repositories() returns expected order (@test_repositories.R#17) 
  6. Error: 'site_repository=' inserted correctly (@test_repositories.R#23) 
  7. Error: BiocVersion version matches with .version_map() (@test_version.R#152) 
  
  Error: testthat unit tests failed
  Execution halted