Running ‘testthat.R’ [31s/49s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(BiocManager)
  > 
  > .skip_if_misconfigured <-
  +     function()
  + {
  +     if (!"BiocVersion" %in% rownames(installed.packages()))
  +         return(NULL)
  + 
  +     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")
  + }
  > 
  > .skip_if_BiocVersion_not_available <-
  +     function()
  + {
  +     if (!"BiocVersion" %in% rownames(installed.packages()))
  +         skip("BiocVersion not installed")
  + }
  > 
  > test_check("BiocManager")
  ── 1. Error: .install_repos() works (@test_install.R#28)  ──────────────────────
  Bioconductor version '3.10' requires R version '3.6'; see
    https://bioconductor.org/install
  1: repositories() at testthat/test_install.R:28
  2: .version_validate(version)
  3: ifelse(.is_CRAN_check(), .message(txt), .stop(txt))
  4: .stop(txt)
  5: stop(.msg(...), call. = call.)
  
  ── 2. Error: .install_github() works (@test_install.R#35)  ─────────────────────
  Bioconductor version '3.10' requires R version '3.6'; see
    https://bioconductor.org/install
  1: repositories() at testthat/test_install.R:35
  2: .version_validate(version)
  3: ifelse(.is_CRAN_check(), .message(txt), .stop(txt))
  4: .stop(txt)
  5: stop(.msg(...), call. = call.)
  
  ── 3. Error: repositories() returns all repos (@test_repositories.R#7)  ────────
  Bioconductor version '3.10' requires R version '3.6'; see
    https://bioconductor.org/install
  1: expect_true(all(allOS %in% names(repositories()))) at testthat/test_repositories.R:7
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: allOS %in% names(repositories())
  5: repositories()
  6: .version_validate(version)
  7: ifelse(.is_CRAN_check(), .message(txt), .stop(txt))
  8: .stop(txt)
  9: stop(.msg(...), call. = call.)
  
  ── 4. Error: repositories() does not return any NA repos (@test_repositories.R#1
  Bioconductor version '3.10' requires R version '3.6'; see
    https://bioconductor.org/install
  1: expect_true(!anyNA(repositories())) at testthat/test_repositories.R:13
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: repositories()
  5: .version_validate(version)
  6: ifelse(.is_CRAN_check(), .message(txt), .stop(txt))
  7: .stop(txt)
  8: stop(.msg(...), call. = call.)
  
  ── 5. Error: repositories() returns expected order (@test_repositories.R#19)  ──
  Bioconductor version '3.10' requires R version '3.6'; see
    https://bioconductor.org/install
  1: expect_identical("BioCsoft", names(repositories())[[1]]) at testthat/test_repositories.R:19
  2: quasi_label(enquo(expected), expected.label, arg = "expected")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: repositories()
  5: .version_validate(version)
  6: ifelse(.is_CRAN_check(), .message(txt), .stop(txt))
  7: .stop(txt)
  8: stop(.msg(...), call. = call.)
  
  ── 6. Error: 'site_repository=' inserted correctly (@test_repositories.R#26)  ──
  Bioconductor version '3.10' requires R version '3.6'; see
    https://bioconductor.org/install
  1: repositories(site_repository) at testthat/test_repositories.R:26
  2: .version_validate(version)
  3: ifelse(.is_CRAN_check(), .message(txt), .stop(txt))
  4: .stop(txt)
  5: stop(.msg(...), call. = call.)
  
  ── 7. Failure: BiocVersion version matches with .version_map() (@test_version.R#
  BiocVersion package version '3.10' does not match BiocManager::.version_map() '3.11'. Check configuration.
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 72 | SKIPPED: 2 | WARNINGS: 0 | FAILED: 7 ]
  1. Error: .install_repos() works (@test_install.R#28) 
  2. Error: .install_github() works (@test_install.R#35) 
  3. Error: repositories() returns all repos (@test_repositories.R#7) 
  4. Error: repositories() does not return any NA repos (@test_repositories.R#13) 
  5. Error: repositories() returns expected order (@test_repositories.R#19) 
  6. Error: 'site_repository=' inserted correctly (@test_repositories.R#26) 
  7. Failure: BiocVersion version matches with .version_map() (@test_version.R#176) 
  
  Error: testthat unit tests failed
  Execution halted