Running 'testthat.R' [260s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > test_check("httr")
  Loading required package: httr
  [ FAIL 4 | WARN 0 | SKIP 7 | PASS 153 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • Currently broken (1)
  • On CRAN (6)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-body.r:93:3'): single file matches contents on disk ────────────
  Error in `strsplit(out$data, "\r?\n")`: non-character argument
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(strsplit(out$data, "\r?\n")[[1]], data) at test-body.r:93:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─base::strsplit(out$data, "\r?\n")
  ── Failure ('test-http-error.R:4:3'): http_error works with urls ───────────────
  http_error("http://httpbin.org/status/200") is not FALSE
  
  `actual`:   TRUE 
  `expected`: FALSE
  ── Failure ('test-response.r:55:3'): application/json responses parsed as lists ──
  response$status_code not equal to 200.
  1/1 mismatches
  [1] 504 - 200 == 304
  Backtrace:
      ▆
   1. └─httr (local) test_user_agent("gunicorn-client/0.1") at test-response.r:55:2
   2.   └─testthat::expect_equal(response$status_code, 200) at test-response.r:49:4
  ── Failure ('test-response.r:55:3'): application/json responses parsed as lists ──
  `expected_reply` not equal to content(response).
  Names: 1 string mismatch
  Attributes: < names for current but not for target >
  Attributes: < Length mismatch: comparison on first 0 components >
  Length mismatch: comparison on first 1 components
  Component 1: Modes: character, externalptr
  Component 1: target is character, current is externalptr
  Backtrace:
      ▆
   1. └─httr (local) test_user_agent("gunicorn-client/0.1") at test-response.r:55:2
   2.   └─testthat::expect_equal(expected_reply, content(response)) at test-response.r:51:4
  
  [ FAIL 4 | WARN 0 | SKIP 7 | PASS 153 ]
  Error: Test failures
  Execution halted