Running 'spelling.R' [0s]
  Running 'test-all.R' [241s]
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
  Error in download.file(urls, destfiles, "libcurl", mode = "wb", ...) : 
    cannot open URL 'https://packagemanager.posit.co/cran/2024-01-02/bin/windows/contrib/4.0/MASS_7.3-60.zip'
  [ FAIL 4 | WARN 3 | SKIP 25 | PASS 41 ]
  
  ══ Skipped tests (25) ══════════════════════════════════════════════════════════
  • On CRAN (24): 'test-1-github-functions.R:14:3', 'test-2-makeDepGraph.R:70:3',
    'test-2-makeDepGraph.R:88:3', 'test-2-makeDepGraph.R:110:3',
    'test-2-makeDepGraph.R:131:3', 'test-2-makeDepGraph.R:153:3',
    'test-3-makeRepo.R:26:3', 'test-5-updateRepo.R:62:7',
    'test-5-updateRepo.R:62:7', 'test-5-updateRepo.R:62:7',
    'test-5-updateRepo.R:112:7', 'test-5-updateRepo.R:112:7',
    'test-5-updateRepo.R:112:7', 'test-5-updateRepo.R:187:7',
    'test-5-updateRepo.R:187:7', 'test-5-updateRepo.R:187:7',
    'test-5-updateRepo.R:249:7', 'test-5-updateRepo.R:249:7',
    'test-5-updateRepo.R:249:7', 'test-6-getCranDescription.R:4:3',
    'test-7-addGithubPackage.R:4:3', 'test-8-addLocalPackage.R:17:3',
    'test-8-addLocalPackage.R:49:3', 'test-9-is-online.R:2:3'
  • offline (1): 'test-1-pkgAvail.R:10:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-4-makeRepo-from-localCRAN.R:44:5'): makeRepo downloads files and builds PACKAGES file ──
  length(ret) (`actual`) not equal to length(pkgList) (`expected`).
  
    `actual`: 0
  `expected`: 1
  ── Failure ('test-4-makeRepo-from-localCRAN.R:46:5'): makeRepo downloads files and builds PACKAGES file ──
  .checkForRepoFiles(repo_root, pkgList, prefix) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-4-makeRepo-from-localCRAN.R:49:5'): makeRepo downloads files and builds PACKAGES file ──
  file.exists(file.path(repo_root, prefix, "PACKAGES.gz")) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Error ('test-4-makeRepo-from-localCRAN.R:52: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:52:5
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   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 4 | WARN 3 | SKIP 25 | PASS 41 ]
  Error: Test failures
  Execution halted