Running ‘spelling.R’ [0s/0s]
  Running ‘test-all.R’ [11s/26s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > if (require(testthat)) {
  +   test_check("miniCRAN")
  + }
  Loading required package: testthat
  Loading required package: miniCRAN
  Saving _problems/test-4-makeRepo-from-localCRAN-70.R
  Saving _problems/test-4-makeRepo-from-localCRAN-78.R
  [ FAIL 2 | WARN 1 | SKIP 24 | PASS 45 ]
  
  ══ Skipped tests (24) ══════════════════════════════════════════════════════════
  • On CRAN (24): 'test-1-github-functions.R:13:3', 'test-2-makeDepGraph.R:82:3',
    'test-2-makeDepGraph.R:98:3', 'test-2-makeDepGraph.R:118:3',
    'test-2-makeDepGraph.R:137:3', 'test-2-makeDepGraph.R:157:3',
    'test-3-makeRepo.R:22:3', 'test-5-updateRepo.R:84:7',
    'test-5-updateRepo.R:84:7', 'test-5-updateRepo.R:84:7',
    'test-5-updateRepo.R:144:7', 'test-5-updateRepo.R:144:7',
    'test-5-updateRepo.R:144:7', 'test-5-updateRepo.R:226:7',
    'test-5-updateRepo.R:226:7', 'test-5-updateRepo.R:226:7',
    'test-5-updateRepo.R:302:7', 'test-5-updateRepo.R:302:7',
    'test-5-updateRepo.R:302:7', 'test-6-getCranDescription.R:2:3',
    'test-7-addGithubPackage.R:2:3', 'test-8-addLocalPackage.R:14:3',
    'test-8-addLocalPackage.R:58:3', 'test-9-is-online.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-4-makeRepo-from-localCRAN.R:68:5'): makeRepo downloads files and builds PACKAGES file ──
  Expected `file.exists(file.path(repo_root, prefix, "PACKAGES.gz"))` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Error ('test-4-makeRepo-from-localCRAN.R:71:5'): makeRepo downloads files and builds PACKAGES file ──
  Error in `read.dcf(file = tmpf)`: cannot open the connection
  Backtrace:
      ▆
   1. ├─testthat::expect_true(...) at test-4-makeRepo-from-localCRAN.R:71:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─pkgList %in% ...
   5. └─miniCRAN::pkgAvail(repos = repo_root, type = pkg_type, Rversion = rvers)
   6.   └─miniCRAN (local) ap()
   7.     └─utils::available.packages(...)
   8.       └─base::read.dcf(file = tmpf)
  
  [ FAIL 2 | WARN 1 | SKIP 24 | PASS 45 ]
  Error:
  ! Test failures.
  Execution halted