Running ‘testthat.R’ [1s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(BiocManager)
  > 
  > test_check("BiocManager")
  ── 1. 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"
  
  ── 2. Error: repositories(version = 'devel') works (@test_repositories.R#32)  ──
  invalid version specification 'c(3, 9)'
  1: expect_equal(repositories(version = .version_bioc("devel")), repositories(version = "devel")) at testthat/test_repositories.R:32
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: repositories(version = .version_bioc("devel"))
  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)
  
  ── 3. 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"
  
  ── 4. Error: .version_validity('devel') works (@test_version.R#84)  ────────────
  invalid version specification 'c(3, 9)'
  1: expect_true(.version_validity("devel")) at testthat/test_version.R:84
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: .version_validity("devel")
  5: .package_version(version)
  6: package_version(x)
  7: .make_numeric_version(x, strict, .standard_regexps()$valid_package_version, "package_version")
  8: stop(gettextf("invalid version specification %s", paste(sQuote(unique(x[!ok])), collapse = ", ")), 
         call. = FALSE, domain = NA)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 77 SKIPPED: 1 FAILED: 4
  1. Failure: repositories() rejects invalid versions (@test_repositories.R#23) 
  2. Error: repositories(version = 'devel') works (@test_repositories.R#32) 
  3. Failure: .version_validate() validates version (@test_version.R#16) 
  4. Error: .version_validity('devel') works (@test_version.R#84) 
  
  Error: testthat unit tests failed
  Execution halted