Running 'testthat.R' [2s]
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)  ----------------------
  invalid version specification 'c(3, 9)'
  1: repositories() at testthat/test_install.R:26
  2: .version_validate(version)
  3: .package_version(version)
  4: package_version(x)
  5: .make_numeric_version(x, strict, .standard_regexps()$valid_package_version, "package_version")
  6: stop(gettextf("invalid version specification %s", paste(sQuote(unique(x[!ok])), collapse = ", ")), 
         call. = FALSE, domain = NA)
  
  -- 2. Error: .install_github() works (@test_install.R#31)  ---------------------
  invalid version specification 'c(3, 9)'
  1: repositories() at testthat/test_install.R:31
  2: .version_validate(version)
  3: .package_version(version)
  4: package_version(x)
  5: .make_numeric_version(x, strict, .standard_regexps()$valid_package_version, "package_version")
  6: stop(gettextf("invalid version specification %s", paste(sQuote(unique(x[!ok])), collapse = ", ")), 
         call. = FALSE, domain = NA)
  
  -- 3. Error: repositories() returns all repos (@test_repositories.R#5)  --------
  invalid version specification 'c(3, 9)'
  1: expect_true(all(allOS %in% names(repositories()))) at testthat/test_repositories.R:5
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: allOS %in% names(repositories())
  5: repositories()
  6: .version_validate(version)
  7: .package_version(version)
  8: package_version(x)
  9: .make_numeric_version(x, strict, .standard_regexps()$valid_package_version, "package_version")
  10: stop(gettextf("invalid version specification %s", paste(sQuote(unique(x[!ok])), collapse = ", ")), 
         call. = FALSE, domain = NA)
  
  -- 4. Error: repositories() does not return any NA repos (@test_repositories.R#9
  invalid version specification 'c(3, 9)'
  1: expect_true(!anyNA(repositories())) at testthat/test_repositories.R:9
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: repositories()
  5: .version_validate(version)
  6: .package_version(version)
  7: package_version(x)
  8: .make_numeric_version(x, strict, .standard_regexps()$valid_package_version, "package_version")
  9: stop(gettextf("invalid version specification %s", paste(sQuote(unique(x[!ok])), collapse = ", ")), 
         call. = FALSE, domain = NA)
  
  -- 5. Error: repositories() returns expected order (@test_repositories.R#13)  --
  invalid version specification 'c(3, 9)'
  1: expect_identical("BioCsoft", names(repositories())[[1]]) at testthat/test_repositories.R:13
  2: quasi_label(enquo(expected), expected.label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: repositories()
  5: .version_validate(version)
  6: .package_version(version)
  7: package_version(x)
  8: .make_numeric_version(x, strict, .standard_regexps()$valid_package_version, "package_version")
  9: stop(gettextf("invalid version specification %s", paste(sQuote(unique(x[!ok])), collapse = ", ")), 
         call. = FALSE, domain = NA)
  
  -- 6. Error: 'site_repository=' inserted correctly (@test_repositories.R#18)  --
  invalid version specification 'c(3, 9)'
  1: repositories(site_repository) at testthat/test_repositories.R:18
  2: .version_validate(version)
  3: .package_version(version)
  4: package_version(x)
  5: .make_numeric_version(x, strict, .standard_regexps()$valid_package_version, "package_version")
  6: stop(gettextf("invalid version specification %s", paste(sQuote(unique(x[!ok])), collapse = ", ")), 
         call. = FALSE, domain = NA)
  
  -- 7. Failure: repositories() rejects invalid versions (@test_repositories.R#23)
  `repositories(version = "2.0")` threw an error with unexpected message.
  Expected match: "Bioconductor version '2.0' requires R version '2.5'.*"
  Actual message: "Bioconductor version '2.0' requires R version 'c(2, 5)'; see\n  https://bioconductor.org/install"
  
  -- 8. Error: repositories(version = 'devel') works (@test_repositories.R#31)  --
  comparison of these types is not implemented
  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
     }, "comparison of these types is not implemented", base::quote(version() == .version_bioc("devel"))) at testthat/test_repositories.R:31
  2: eval(code, test_env)
  
  -- 9. Failure: version is package_version class (@test_version.R#4)  -----------
  version() is not an S3 object
  
  -- 10. Failure: version is package_version class (@test_version.R#4)  ----------
  version() inherits from `list` not `package_version`.
  
  -- 11. Failure: version is package_version class (@test_version.R#5)  ----------
  version() is not an S3 object
  
  -- 12. Failure: version is package_version class (@test_version.R#5)  ----------
  version() inherits from `list` not `numeric_version`.
  
  -- 13. Failure: version has two components (@test_version.R#10)  ---------------
  length(verNums) not identical to 2.
  1/1 mismatches
  [1] 1 - 2 == -1
  
  -- 14. Failure: .version_validate() validates version (@test_version.R#16)  ----
  `.version_validate("2.0")` threw an error with unexpected message.
  Expected match: "Bioconductor version '2.0' requires R version '2.5'; .*"
  Actual message: "Bioconductor version '2.0' requires R version 'c(2, 5)'; see\n  https://bioconductor.org/install"
  
  -- 15. Error: .version_validity('devel') works (@test_version.R#83)  -----------
  comparison of these types is not implemented
  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
     }, "comparison of these types is not implemented", base::quote(version() == devel)) at testthat/test_version.R:83
  2: eval(code, test_env)
  
  == testthat results  ===========================================================
  OK: 65 SKIPPED: 1 FAILED: 15
  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. Failure: repositories() rejects invalid versions (@test_repositories.R#23) 
  8. Error: repositories(version = 'devel') works (@test_repositories.R#31) 
  9. Failure: version is package_version class (@test_version.R#4) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted