Running ‘testthat.R’ [12s/35s]
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)  ──────────────────────
  argument is of length zero
  1: repositories() at testthat/test_install.R:26
  2: .version_validate(version)
  3: .version_validity(version)
  
  ── 2. Error: .install_github() works (@test_install.R#31)  ─────────────────────
  argument is of length zero
  1: repositories() at testthat/test_install.R:31
  2: .version_validate(version)
  3: .version_validity(version)
  
  ── 3. Error: repositories() returns all repos (@test_repositories.R#5)  ────────
  argument is of length zero
  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: .version_validity(version)
  
  ── 4. Error: repositories() does not return any NA repos (@test_repositories.R#9
  argument is of length zero
  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: .version_validity(version)
  
  ── 5. Error: repositories() returns expected order (@test_repositories.R#13)  ──
  argument is of length zero
  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: .version_validity(version)
  
  ── 6. Error: 'site_repository=' inserted correctly (@test_repositories.R#18)  ──
  argument is of length zero
  1: repositories(site_repository) at testthat/test_repositories.R:18
  2: .version_validate(version)
  3: .version_validity(version)
  
  ── 7. Error: repositories(version = 'devel') works (@test_repositories.R#31)  ──
  argument is of length zero
  1: .handleSimpleError(function (e) 
     {
         handled <<- TRUE
         test_error <<- e
         options(expressions = expressions_opt_new)
         on.exit(options(expressions = expressions_opt), add = TRUE)
         e$expectation_calls <- frame_calls(11, 2)
         test_error <<- e
         register_expectation(e)
         e$handled <- TRUE
         test_error <<- e
     }, "argument is of length zero", base::quote(if (version() == .version_bioc("devel")) {
         expect_equal(repositories(version = .version_bioc("devel")), repositories(version = "devel"))
     })) at testthat/test_repositories.R:31
  2: eval(code, test_env)
  
  ── 8. Error: version has two components (@test_version.R#9)  ───────────────────
  subscript out of bounds
  1: .handleSimpleError(function (e) 
     {
         handled <<- TRUE
         test_error <<- e
         options(expressions = expressions_opt_new)
         on.exit(options(expressions = expressions_opt), add = TRUE)
         e$expectation_calls <- frame_calls(11, 2)
         test_error <<- e
         register_expectation(e)
         e$handled <- TRUE
         test_error <<- e
     }, "subscript out of bounds", base::quote(strsplit(as.character(version()), "\\.")[[1L]])) at testthat/test_version.R:9
  2: eval(code, test_env)
  
  ── 9. Error: .version_validity('devel') works (@test_version.R#83)  ────────────
  argument is of length zero
  1: .handleSimpleError(function (e) 
     {
         handled <<- TRUE
         test_error <<- e
         options(expressions = expressions_opt_new)
         on.exit(options(expressions = expressions_opt), add = TRUE)
         e$expectation_calls <- frame_calls(11, 2)
         test_error <<- e
         register_expectation(e)
         e$handled <- TRUE
         test_error <<- e
     }, "argument is of length zero", base::quote(if (version() == devel) {
         expect_true(.version_validity("devel"))
     } else {
         test <- paste0("Bioconductor version '", devel, "' requires R version")
         expect_true(startsWith(.version_validity("devel"), test))
     })) at testthat/test_version.R:83
  2: eval(code, test_env)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 71 | SKIPPED: 1 | 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: repositories(version = 'devel') works (@test_repositories.R#31) 
  8. Error: version has two components (@test_version.R#9) 
  9. Error: .version_validity('devel') works (@test_version.R#83) 
  
  Error: testthat unit tests failed
  Execution halted