Running ‘testthat.R’ [210s/228s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > 
  > library(testthat)
  > library(renv, warn.conflicts = FALSE)
  > 
  > if (!renv:::renv_tests_supported()) {
  +   message("* renv does not support running tests on this platform.")
  +   if (!interactive()) quit(status = 0L)
  + }
  > 
  > test_check("renv")
  Starting 2 test processes
  [ FAIL 4 | WARN 0 | SKIP 180 | PASS 664 ]
  
  ══ Skipped tests (180) ═════════════════════════════════════════════════════════
  • On CRAN (172): 'test-bioconductor.R:22:3', 'test-bioconductor.R:60:3',
    'test-bioconductor.R:90:3', 'test-bioconductor.R:120:5',
    'test-bioconductor.R:141:3', 'test-bioconductor.R:177:3',
    'test-python.R:15:3', 'test-python.R:29:3', 'test-python.R:45:3',
    'test-python.R:63:3', 'test-python.R:93:3', 'test-python.R:208:3',
    'test-restore.R:16:3', 'test-restore.R:33:3', 'test-restore.R:268:3',
    'test-restore.R:296:3', 'test-install.R:66:3', 'test-install.R:198:3',
    'test-install.R:256:3', 'test-install.R:263:3', 'test-install.R:274:3',
    'test-install.R:292:3', 'test-install.R:318:3', 'test-install.R:334:3',
    'test-install.R:345:3', 'test-install.R:392:3', 'test-install.R:415:3',
    'test-install.R:436:3', 'test-install.R:459:3', 'test-install.R:483:3',
    'test-install.R:501:3', 'test-install.R:509:3', 'test-install.R:536:3',
    'test-install.R:565:3', 'test-install.R:601:3', 'test-retrieve.R:4:3',
    'test-retrieve.R:20:3', 'test-retrieve.R:36:3', 'test-retrieve.R:52:3',
    'test-retrieve.R:70:3', 'test-retrieve.R:85:3', 'test-retrieve.R:104:3',
    'test-retrieve.R:120:3', 'test-retrieve.R:138:3', 'test-retrieve.R:153:3',
    'test-retrieve.R:161:3', 'test-retrieve.R:282:3', 'test-retrieve.R:299:3',
    'test-retrieve.R:315:3', 'test-retrieve.R:354:3', 'test-retrieve.R:367:3',
    'test-remotes.R:32:3', 'test-remotes.R:205:3', 'test-acls.R:4:3',
    'test-activate.R:4:3', 'test-activate.R:29:3', 'test-activate.R:50:3',
    'test-archive.R:51:3', 'test-autoload.R:3:3',
    'test-available-packages.R:3:3', 'test-available-packages.R:23:3',
    'test-available-packages.R:44:3', 'test-available-packages.R:60:3',
    'test-available-packages.R:78:3', 'test-available-packages.R:90:3',
    'test-available-packages.R:111:3', 'test-available-packages.R:132:3',
    'test-available-packages.R:158:3', 'test-snapshot.R:23:3',
    'test-snapshot.R:36:3', 'test-snapshot.R:111:3', 'test-snapshot.R:170:3',
    'test-snapshot.R:355:3', 'test-snapshot.R:361:3', 'test-snapshot.R:384:3',
    'test-snapshot.R:393:3', 'test-snapshot.R:414:3', 'test-snapshot.R:432:3',
    'test-snapshot.R:445:3', 'test-snapshot.R:485:3', 'test-snapshot.R:518:3',
    'test-snapshot.R:538:3', 'test-snapshot.R:554:3', 'test-cache.R:3:3',
    'test-cache.R:108:3', 'test-cache.R:127:3', 'test-cache.R:155:3',
    'test-cache.R:186:3', 'test-caution.R:3:3', 'test-caution.R:15:3',
    'test-cellar.R:3:3', 'test-checkout.R:18:3', 'test-bootstrap.R:4:3',
    'test-bootstrap.R:18:3', 'test-bootstrap.R:32:3', 'test-bootstrap.R:147:3',
    'test-bootstrap.R:168:3', 'test-bootstrap.R:189:3', 'test-bootstrap.R:219:3',
    'test-config.R:91:3', 'test-dots.R:10:3', 'test-download.R:3:3',
    'test-download.R:60:3', 'test-download.R:116:3', 'test-download.R:143:3',
    'test-download.R:158:3', 'test-history.R:4:3', 'test-id.R:3:3',
    'test-infrastructure.R:4:3', 'test-dependencies.R:97:3',
    'test-dependencies.R:107:3', 'test-dependencies.R:478:3', 'test-json.R:54:3',
    'test-json.R:64:3', 'test-load.R:25:3', 'test-load.R:43:3',
    'test-load.R:57:3', 'test-init.R:3:3', 'test-init.R:12:3',
    'test-init.R:65:3', 'test-init.R:133:3', 'test-init.R:163:3',
    'test-init.R:181:3', 'test-init.R:214:3', 'test-init.R:224:3',
    'test-init.R:234:3', 'test-lockfile-read.R:5:3', 'test-lock.R:152:3',
    'test-lockfile.R:44:3', 'test-migrate.R:27:3', 'test-migrate.R:67:3',
    'test-modify.R:4:3', 'test-modify.R:16:3', 'test-mran.R:3:3',
    'test-ppm.R:3:3', 'test-ppm.R:15:3', 'test-ppm.R:27:3', 'test-ppm.R:39:3',
    'test-ppm.R:51:3', 'test-ppm.R:59:3', 'test-ppm.R:86:3', 'test-ppm.R:110:3',
    'test-preflight.R:23:3', 'test-profiles.R:3:3', 'test-profiles.R:33:3',
    'test-profile.R:3:3', 'test-profile.R:34:3', 'test-r.R:3:3', 'test-r.R:48:3',
    'test-reload.R:3:3', 'test-repair.R:4:3', 'test-repair.R:27:3',
    'test-repair.R:55:3', 'test-repos.R:59:3', 'test-sandbox.R:116:3',
    'test-socket.R:4:3', 'test-system.R:3:3', 'test-status.R:4:3',
    'test-status.R:20:3', 'test-status.R:33:3', 'test-status.R:46:3',
    'test-status.R:57:3', 'test-upgrade.R:4:3', 'test-use.R:4:3',
    'test-use.R:24:3', 'test-utils.R:159:3', 'test-vendor.R:10:3',
    'test-watchdog.R:4:3', 'test-watchdog.R:37:3', 'test-update.R:4:3',
    'test-update.R:21:3', 'test-update.R:52:3'
  • On Linux (1): 'test-mran.R:24:3'
  • Running tests locally (2): 'test-python.R:137:3', 'test-python.R:180:3'
  • empty test (1): 'test-dependencies.R:216:1'
  • failing test; mtime sometimes differs? (1): 'test-files.R:130:3'
  • renv_platform_macos() is not TRUE (1): 'test-retrieve.R:238:3'
  • renv_platform_windows() is not TRUE (1): 'test-install.R:224:3'
  • renv_platform_windows() || empty(.Library.site) is TRUE (1):
    'test-sandbox.R:60:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-install.R:128:3'): various remote styles can be used during install ──
  Error: failed to resolve remote 'kevinushey/skeleton' -- error downloading 'https://api.github.com/repos/kevinushey/skeleton' [curl: (56) Failure when receiving data from the peer]
  Backtrace:
       ▆
    1. ├─renv::install("kevinushey/skeleton") at test-install.R:128:2
    2. │ └─renv:::map(packages, renv_remotes_resolve)
    3. │   └─base::lapply(x, f, ...)
    4. │     └─renv (local) FUN(X[[i]], ...)
    5. │       ├─base::withCallingHandlers(...)
    6. │       └─renv:::renv_remotes_resolve_impl(spec, latest)
    7. │         └─renv:::renv_remotes_resolve_github(remote)
    8. │           ├─remote$ref %||% ...
    9. │           └─renv:::renv_remotes_resolve_github_ref(host, user, repo)
   10. │             └─base::tryCatch(...)
   11. │               └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   12. │                 └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   13. │                   └─value[[3L]](cond)
   14. │                     └─base::warning(e)
   15. │                       └─base::withRestarts(...)
   16. │                         └─base (local) withOneRestart(expr, restarts[[1L]])
   17. │                           └─base (local) doWithOneRestart(return(expr), restart)
   18. └─renv (local) `<fn>`(`<smplErrr>`)
  ── Error ('test-install.R:168:3'): Remotes fields in a project DESCRIPTION are respected ──
  Error: failed to resolve remote 'kevinushey/skeleton' -- error downloading 'https://api.github.com/repos/kevinushey/skeleton/commits/master' [curl: (56) Failure when receiving data from the peer]
  Backtrace:
       ▆
    1. ├─renv::install() at test-install.R:168:2
    2. │ ├─renv:::overlay(renv_project_remotes(project), remotes)
    3. │ │ ├─utils::modifyList(as.list(lhs), as.list(rhs))
    4. │ │ │ └─base::stopifnot(is.list(x), is.list(val))
    5. │ │ └─base::as.list(lhs)
    6. │ └─renv:::renv_project_remotes(project)
    7. │   └─renv:::renv_description_remotes(descpath)
    8. │     └─base::lapply(splat, renv_remotes_resolve)
    9. │       └─renv (local) FUN(X[[i]], ...)
   10. │         ├─base::withCallingHandlers(...)
   11. │         └─renv:::renv_remotes_resolve_impl(spec, latest)
   12. │           └─renv:::renv_remotes_resolve_github(remote)
   13. │             ├─renv:::case(...)
   14. │             └─renv:::renv_remotes_resolve_github_sha_ref(...)
   15. │               └─renv:::download(...)
   16. │                 └─renv:::renv_download_error(url, "%s", conditionMessage(status))
   17. │                   └─renv:::stopf("error downloading '%s' [%s]", url, msg, call. = FALSE)
   18. │                     └─base::stop(sprintf(fmt, ...), call. = call.)
   19. └─base::.handleSimpleError(...)
   20.   └─renv (local) h(simpleError(msg, call))
  ── Error ('test-install.R:636:3'): install() doesn't duplicate authentication headers ──
  Error: error downloading 'https://api.github.com/repos/kevinushey/skeleton/tarball/e4aafb92b86ba7eba3b7036d9d96fdfb6c32761a' [URL 'https://api.github.com/repos/kevinushey/skeleton/tarball/e4aafb92b86ba7eba3b7036d9d96fdfb6c32761a': status was 'Failure when receiving data from the peer']
  Backtrace:
      ▆
   1. └─renv::install("kevinushey/skeleton") at test-install.R:636:2
   2.   └─renv:::retrieve(packages)
   3.     ├─renv (local) handler(package, renv_retrieve_impl(package))
   4.     └─renv:::renv_retrieve_impl(package)
   5.       └─renv:::renv_retrieve_github(record)
   6.         └─renv:::renv_retrieve_package(record, url, path)
  ── Error ('test-retrieve.R:362:3'): renv can retrieve the latest release associated with a project ──
  Error: failed to resolve remote 'rstudio/keras@*release' -- error downloading 'https://api.github.com/repos/rstudio/keras/contents/DESCRIPTION?ref=0b9737b3e4deb2d765382f206ba30b3ea9a2bf77' [curl: (56) Failure when receiving data from the peer]
  Backtrace:
       ▆
    1. ├─renv:::renv_remotes_resolve("rstudio/keras@*release") at test-retrieve.R:362:2
    2. │ ├─base::withCallingHandlers(...)
    3. │ └─renv:::renv_remotes_resolve_impl(spec, latest)
    4. │   └─renv:::renv_remotes_resolve_github(remote)
    5. │     └─renv:::renv_remotes_resolve_github_description(...)
    6. │       └─renv:::download(...)
    7. │         └─renv:::renv_download_error(url, "%s", conditionMessage(status))
    8. │           └─renv:::stopf("error downloading '%s' [%s]", url, msg, call. = FALSE)
    9. │             └─base::stop(sprintf(fmt, ...), call. = call.)
   10. └─base::.handleSimpleError(...)
   11.   └─renv (local) h(simpleError(msg, call))
  
  [ FAIL 4 | WARN 0 | SKIP 180 | PASS 664 ]
  Error: Test failures
  Execution halted