Running ‘testthat.R’ [20s/67s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(rhub)
  > 
  > test_check("rhub")
  Saving _problems/test-api-2.R
  Saving _problems/test-api-9.R
  Saving _problems/test-api-22.R
  Saving _problems/test-api-30.R
  Saving _problems/test-api-38.R
  Saving _problems/test-check-5.R
  Saving _problems/test-doctor-6.R
  Saving _problems/test-http-cache-5.R
  Saving _problems/test-platforms-8.R
  Saving _problems/test-platforms-26.R
  Saving _problems/test-platforms-51.R
  Saving _problems/test-platforms-71.R
  Saving _problems/test-platforms-86.R
  Saving _problems/test-setup-13.R
  [ FAIL 14 | WARN 0 | SKIP 41 | PASS 68 ]
  
  ══ Skipped tests (41) ══════════════════════════════════════════════════════════
  • On CRAN (41): 'test-assertions.R:1:1', 'test-assertions.R:20:1',
    'test-assertions.R:38:1', 'test-assertions.R:61:1', 'test-assertions.R:83:1',
    'test-cli.R:1:1', 'test-doctor.R:41:1', 'test-doctor.R:66:1',
    'test-doctor.R:116:1', 'test-doctor.R:132:1', 'test-doctor.R:154:1',
    'test-doctor.R:187:1', 'test-doctor.R:199:1', 'test-gh.R:1:1',
    'test-gh.R:10:1', 'test-gh.R:16:1', 'test-gh.R:23:1', 'test-gh.R:49:1',
    'test-gh.R:82:1', 'test-rc.R:1:1', 'test-rc.R:38:1', 'test-rc.R:51:1',
    'test-rc.R:126:1', 'test-rc.R:144:1', 'test-rc.R:159:1', 'test-rc.R:202:1',
    'test-rc.R:219:1', 'test-rc.R:224:1', 'test-rc.R:242:1', 'test-setup.R:1:1',
    'test-setup.R:70:1', 'test-setup.R:93:1', 'test-utils.R:3:1',
    'test-utils.R:19:1', 'test-utils.R:31:1', 'test-utils.R:39:1',
    'test-utils.R:45:1', 'test-utils.R:71:1', 'test-utils.R:110:1',
    'test-utils.R:140:1', 'test-utils.R:140:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-api.R:2:3'): query GET ─────────────────────────────────────────
  Error in `self$start()`: webfakes app subprocess did not start :(
  Backtrace:
      ▆
   1. ├─withr::local_envvar(RHUB_SERVER = http$url()) at test-api.R:2:3
   2. │ └─withr:::list_combine(as.list(.new), list(...))
   3. └─http$url()
   4.   └─self$start()
  ── Error ('test-api.R:9:3'): query HTTP errors ─────────────────────────────────
  Error in `if (self$.ports$ssl[match(port, self$.ports$port)]) {     "https" } else {     "http" }`: argument is of length zero
  Backtrace:
      ▆
   1. ├─withr::local_envvar(RHUB_SERVER = http$url()) at test-api.R:9:3
   2. │ └─withr:::list_combine(as.list(.new), list(...))
   3. └─http$url()
  ── Error ('test-api.R:22:3'): query POST ───────────────────────────────────────
  Error in `if (self$.ports$ssl[match(port, self$.ports$port)]) {     "https" } else {     "http" }`: argument is of length zero
  Backtrace:
      ▆
   1. ├─withr::local_envvar(RHUB_SERVER = http$url()) at test-api.R:22:3
   2. │ └─withr:::list_combine(as.list(.new), list(...))
   3. └─http$url()
  ── Error ('test-api.R:30:3'): query, unknown verb ──────────────────────────────
  Error in `if (self$.ports$ssl[match(port, self$.ports$port)]) {     "https" } else {     "http" }`: argument is of length zero
  Backtrace:
      ▆
   1. ├─withr::local_envvar(RHUB_SERVER = http$url()) at test-api.R:30:3
   2. │ └─withr:::list_combine(as.list(.new), list(...))
   3. └─http$url()
  ── Error ('test-api.R:38:3'): query SSE ────────────────────────────────────────
  Error in `if (self$.ports$ssl[match(port, self$.ports$port)]) {     "https" } else {     "http" }`: argument is of length zero
  Backtrace:
      ▆
   1. ├─withr::local_envvar(RHUB_SERVER = http$url()) at test-api.R:38:3
   2. │ └─withr:::list_combine(as.list(.new), list(...))
   3. └─http$url()
  ── Error ('test-check.R:2:3'): rhub_check ──────────────────────────────────────
  Error in `if (self$.ports$ssl[match(port, self$.ports$port)]) {     "https" } else {     "http" }`: argument is of length zero
  Backtrace:
      ▆
   1. ├─withr::local_envvar(...) at test-check.R:2:3
   2. │ └─withr:::list_combine(as.list(.new), list(...))
   3. └─http$url("/platforms.json")
  ── Error ('test-doctor.R:6:3'): rhub_doctor ────────────────────────────────────
  Error in `if (self$.ports$ssl[match(port, self$.ports$port)]) {     "https" } else {     "http" }`: argument is of length zero
  Backtrace:
      ▆
   1. └─http$url() at test-doctor.R:6:3
  ── Error ('test-http-cache.R:5:3'): async_cached_http_get ──────────────────────
  Error in `if (self$.ports$ssl[match(port, self$.ports$port)]) {     "https" } else {     "http" }`: argument is of length zero
  Backtrace:
      ▆
   1. ├─rhub:::synchronise(async_cached_http_get(http$url("/get"))) at test-http-cache.R:5:3
   2. ├─rhub:::async_cached_http_get(http$url("/get"))
   3. │ ├─cli::hash_md5(paste0("http-get-", url))
   4. │ └─base::paste0("http-get-", url)
   5. └─http$url("/get")
  ── Error ('test-platforms.R:5:3'): get_platforms ───────────────────────────────
  Error in `if (self$.ports$ssl[match(port, self$.ports$port)]) {     "https" } else {     "http" }`: argument is of length zero
  Backtrace:
      ▆
   1. ├─withr::local_envvar(...) at test-platforms.R:5:3
   2. │ └─withr:::list_combine(as.list(.new), list(...))
   3. └─http$url("/platforms.json")
  ── Error ('test-platforms.R:23:3'): rhub_platforms ─────────────────────────────
  Error in `if (self$.ports$ssl[match(port, self$.ports$port)]) {     "https" } else {     "http" }`: argument is of length zero
  Backtrace:
      ▆
   1. ├─withr::local_envvar(...) at test-platforms.R:23:3
   2. │ └─withr:::list_combine(as.list(.new), list(...))
   3. └─http$url("/platforms.json")
  ── Error ('test-platforms.R:48:3'): format.rhub_platforms ──────────────────────
  Error in `if (self$.ports$ssl[match(port, self$.ports$port)]) {     "https" } else {     "http" }`: argument is of length zero
  Backtrace:
      ▆
   1. ├─withr::local_envvar(...) at test-platforms.R:48:3
   2. │ └─withr:::list_combine(as.list(.new), list(...))
   3. └─http$url("/platforms.json")
  ── Error ('test-platforms.R:68:3'): summary.rhub_platforms ─────────────────────
  Error in `if (self$.ports$ssl[match(port, self$.ports$port)]) {     "https" } else {     "http" }`: argument is of length zero
  Backtrace:
      ▆
   1. ├─withr::local_envvar(...) at test-platforms.R:68:3
   2. │ └─withr:::list_combine(as.list(.new), list(...))
   3. └─http$url("/platforms.json")
  ── Error ('test-platforms.R:83:3'): select_platforms ───────────────────────────
  Error in `if (self$.ports$ssl[match(port, self$.ports$port)]) {     "https" } else {     "http" }`: argument is of length zero
  Backtrace:
      ▆
   1. ├─withr::local_envvar(...) at test-platforms.R:83:3
   2. │ └─withr:::list_combine(as.list(.new), list(...))
   3. └─http$url("/bad-bad-bad-ooops")
  ── Error ('test-setup.R:13:3'): rhub_setup ─────────────────────────────────────
  Error in `if (self$.ports$ssl[match(port, self$.ports$port)]) {     "https" } else {     "http" }`: argument is of length zero
  Backtrace:
      ▆
   1. └─http$url() at test-setup.R:13:3
  
  [ FAIL 14 | WARN 0 | SKIP 41 | PASS 68 ]
  Error:
  ! Test failures.
  Execution halted