Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(BiocManager)
  > 
  > test_check("BiocManager")
  -- 1. Error: .install_repos() works (@test_install.R#26)  ----------------------
  Bioconductor version '3.9' requires R version '3.6'; see
    https://bioconductor.org/install
  1: repositories() at testthat/test_install.R:26
  2: .version_validate(version)
  3: .stop(txt)
  4: stop(.msg(...), call. = call.)
  
  -- 2. Error: .install_github() works (@test_install.R#31)  ---------------------
  Bioconductor version '3.9' requires R version '3.6'; see
    https://bioconductor.org/install
  1: repositories() at testthat/test_install.R:31
  2: .version_validate(version)
  3: .stop(txt)
  4: stop(.msg(...), call. = call.)
  
  -- 3. Error: repositories() returns all repos (@test_repositories.R#5)  --------
  Bioconductor version '3.9' requires R version '3.6'; see
    https://bioconductor.org/install
  1: expect_true(all(allOS %in% names(repositories()))) at testthat/test_repositories.R:5
  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: .stop(txt)
  8: stop(.msg(...), call. = call.)
  
  -- 4. Error: repositories() does not return any NA repos (@test_repositories.R#9
  Bioconductor version '3.9' requires R version '3.6'; see
    https://bioconductor.org/install
  1: expect_true(!anyNA(repositories())) at testthat/test_repositories.R:9
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: repositories()
  5: .version_validate(version)
  6: .stop(txt)
  7: stop(.msg(...), call. = call.)
  
  -- 5. Error: repositories() returns expected order (@test_repositories.R#13)  --
  Bioconductor version '3.9' requires R version '3.6'; see
    https://bioconductor.org/install
  1: expect_identical("BioCsoft", names(repositories())[[1]]) at testthat/test_repositories.R:13
  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: .stop(txt)
  7: stop(.msg(...), call. = call.)
  
  -- 6. Error: 'site_repository=' inserted correctly (@test_repositories.R#18)  --
  Bioconductor version '3.9' requires R version '3.6'; see
    https://bioconductor.org/install
  1: repositories(site_repository) at testthat/test_repositories.R:18
  2: .version_validate(version)
  3: .stop(txt)
  4: stop(.msg(...), call. = call.)
  
  -- 7. Error: .version_validity('devel') works (@test_version.R#87)  ------------
  non-character object(s)
  1: expect_true(startsWith(.version_validity("devel"), test)) at testthat/test_version.R:87
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: startsWith(.version_validity("devel"), test)
  
  -- 8. Failure: .version_validity() and BIOCONDUCTOR_ONLINE_VERSION_DIAGNOSIS wor
  `value` not identical to TRUE.
  Types not compatible: character is not logical
  
  -- 9. Error: .version_validate() and BIOCONDUCTOR_ONLINE_VERSION_DIAGNOSIS work 
  Bioconductor version '3.9' requires R version '3.6'; see
    https://bioconductor.org/install
  1: withr::with_options(list(BIOCONDUCTOR_ONLINE_VERSION_DIAGNOSIS = FALSE), {
         if ("BiocVersion" %in% rownames(installed.packages())) 
             expect_identical(.version_validate("1.2"), package_version("1.2"))
         else expect_error(.version_validate("1.2"), .VERSION_MAP_UNABLE_TO_VALIDATE)
     }) at testthat/test_version.R:104
  2: force(code)
  3: expect_identical(.version_validate("1.2"), package_version("1.2")) at testthat/test_version.R:105
  4: quasi_label(enquo(object), label, arg = "object")
  5: eval_bare(get_expr(quo), get_env(quo))
  6: .version_validate("1.2")
  7: .stop(txt)
  8: stop(.msg(...), call. = call.)
  
  == testthat results  ===========================================================
  [ OK: 67 | SKIPPED: 2 | WARNINGS: 1 | FAILED: 9 ]
  1. Error: .install_repos() works (@test_install.R#26) 
  2. Error: .install_github() works (@test_install.R#31) 
  3. Error: repositories() returns all repos (@test_repositories.R#5) 
  4. Error: repositories() does not return any NA repos (@test_repositories.R#9) 
  5. Error: repositories() returns expected order (@test_repositories.R#13) 
  6. Error: 'site_repository=' inserted correctly (@test_repositories.R#18) 
  7. Error: .version_validity('devel') works (@test_version.R#87) 
  8. Failure: .version_validity() and BIOCONDUCTOR_ONLINE_VERSION_DIAGNOSIS work (@test_version.R#92) 
  9. Error: .version_validate() and BIOCONDUCTOR_ONLINE_VERSION_DIAGNOSIS work (@test_version.R#104) 
  
  Error: testthat unit tests failed
  Execution halted