Running 'testthat.R' [181s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(pacs)
  > 
  > test_check("pacs")
  [ FAIL 12 | WARN 2 | SKIP 43 | PASS 46 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (43)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-deps.R:2:3): pacs::pac_deps ─────────────────────────────────────
  Error in `bio_releases()$Release`: $ operator is invalid for atomic vectors
  Backtrace:
      ▆
   1. └─pacs::pac_deps("stats", base = TRUE) at test-deps.R:2:2
   2.   ├─base::stopifnot(is.character(repos))
   3.   └─pacs::biocran_repos()
  ── Error (test-deps.R:170:3): pac_deps_heavy deps local ────────────────────────
  Error in `bio_releases()$Release`: $ operator is invalid for atomic vectors
  Backtrace:
      ▆
   1. └─pacs::pac_deps_heavy("memoise", local = TRUE) at test-deps.R:170:2
   2.   ├─pacs::pac_deps(...)
   3.   │ └─base::stopifnot(is.character(repos))
   4.   └─pacs::biocran_repos()
  ── Error (test-deps.R:177:3): pac_deps_heavy counts local ──────────────────────
  Error in `bio_releases()$Release`: $ operator is invalid for atomic vectors
  Backtrace:
      ▆
   1. └─pacs::pac_deps_heavy("memoise", local = TRUE) at test-deps.R:177:2
   2.   ├─pacs::pac_deps(...)
   3.   │ └─base::stopifnot(is.character(repos))
   4.   └─pacs::biocran_repos()
  ── Error (test-deps.R:185:3): pac_deps_heavy with base ─────────────────────────
  Error in `bio_releases()$Release`: $ operator is invalid for atomic vectors
  Backtrace:
      ▆
   1. ├─testthat::expect_true(...) at test-deps.R:185:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─base::nrow(pac_deps_heavy("memoise", local = TRUE, base = TRUE))
   5. └─pacs::pac_deps_heavy("memoise", local = TRUE, base = TRUE)
   6.   ├─pacs::pac_deps(...)
   7.   │ └─base::stopifnot(is.character(repos))
   8.   └─pacs::biocran_repos()
  ── Error (test-deps.R:189:3): pac_deps_heavy 0 deps pac ────────────────────────
  Error in `bio_releases()$Release`: $ operator is invalid for atomic vectors
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(...) at test-deps.R:189:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─pacs::pac_deps_heavy("base", local = TRUE)
   5.   ├─pacs::pac_deps(...)
   6.   │ └─base::stopifnot(is.character(repos))
   7.   └─pacs::biocran_repos()
  ── Error (test-size.R:12:3): pacs::pac_true_size ───────────────────────────────
  Error in `bio_releases()$Release`: $ operator is invalid for atomic vectors
  Backtrace:
      ▆
   1. └─pacs::pac_true_size("stats") at test-size.R:12:2
   2.   └─pacs::pac_deps(...)
   3.     ├─base::stopifnot(is.character(repos))
   4.     └─pacs::biocran_repos()
  ── Error (test-static.R:55:3): pacs::biocran_repos() ───────────────────────────
  Error in `bio_releases()$Release`: $ operator is invalid for atomic vectors
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(biocran_repos("4.3.3.3.3"), c(CRAN = "https://cran.rstudio.com/")) at test-static.R:55:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─pacs::biocran_repos("4.3.3.3.3")
  ── Error (test-static.R:70:3): biocran_repos ───────────────────────────────────
  Error in `bio_releases()$Release`: $ operator is invalid for atomic vectors
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(biocran_repos(NA), c(CRAN = "https://cran.rstudio.com/")) at test-static.R:70:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─pacs::biocran_repos(NA)
  ── Error (test-validate.R:72:3): offline validate ──────────────────────────────
  Error in `bio_releases()$Release`: $ operator is invalid for atomic vectors
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(pac_validate_offline("memoise"), "There is no Internet connection") at test-validate.R:72:2
   2. │ └─testthat:::expect_condition_matching(...)
   3. │   └─testthat:::quasi_capture(...)
   4. │     ├─testthat (local) .capture(...)
   5. │     │ └─base::withCallingHandlers(...)
   6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   7. └─pacs (local) pac_validate_offline("memoise")
   8.   ├─base::stopifnot(is.character(repos))
   9.   └─pacs::biocran_repos()
  ── Error (test-validate.R:96:3): pacs::lib_validate offline ────────────────────
  Error in `bio_releases()$Release`: $ operator is invalid for atomic vectors
  Backtrace:
      ▆
   1. ├─testthat::expect_true(...) at test-validate.R:96:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─base::ncol(suppressWarnings(lib_validate_offline()))
   5. ├─base::suppressWarnings(lib_validate_offline())
   6. │ └─base::withCallingHandlers(...)
   7. └─pacs (local) lib_validate_offline()
   8.   ├─base::stopifnot(is.character(repos))
   9.   └─pacs::biocran_repos()
  ── Error (test-validate.R:103:3): pacs::pac_validate offline ───────────────────
  Error in `bio_releases()$Release`: $ operator is invalid for atomic vectors
  Backtrace:
      ▆
   1. ├─testthat::expect_true(...) at test-validate.R:103:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─base::ncol(suppressWarnings(pac_validate_offline("memoise")))
   5. ├─base::suppressWarnings(pac_validate_offline("memoise"))
   6. │ └─base::withCallingHandlers(...)
   7. └─pacs (local) pac_validate_offline("memoise")
   8.   ├─base::stopifnot(is.character(repos))
   9.   └─pacs::biocran_repos()
  ── Error (test-validate.R:109:3): pacs::lock_validate offline ──────────────────
  Error in `bio_releases()$Release`: $ operator is invalid for atomic vectors
  Backtrace:
      ▆
   1. ├─testthat::expect_true(...) at test-validate.R:109:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─base::ncol(suppressWarnings(lock_validate_offline("files/renv_test.lock")))
   5. ├─base::suppressWarnings(lock_validate_offline("files/renv_test.lock"))
   6. │ └─base::withCallingHandlers(...)
   7. └─pacs (local) lock_validate_offline("files/renv_test.lock")
   8.   ├─base::stopifnot(is.character(repos))
   9.   └─pacs::biocran_repos()
  
  [ FAIL 12 | WARN 2 | SKIP 43 | PASS 46 ]
  Error: Test failures
  Execution halted