Running ‘testthat.R’ [41s/29s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(httr2)
  
  Attaching package: 'httr2'
  
  The following objects are masked from 'package:testthat':
  
      local_mock, with_mock
  
  > 
  > test_check("httr2")
  Starting 2 test processes
  [ FAIL 1 | WARN 0 | SKIP 134 | PASS 685 ]
  
  ══ Skipped tests (134) ═════════════════════════════════════════════════════════
  • Can't find envvar HTTR2_KEY (1): 'test-oauth-flow-jwt.R:7:3'
  • On CRAN (132): 'test-resp-stream.R:39:3', 'test-resp-stream.R:57:3',
    'test-resp-stream.R:64:3', 'test-resp-stream.R:88:3',
    'test-resp-stream.R:147:3', 'test-resp-stream.R:165:3',
    'test-resp-stream.R:187:3', 'test-resp-stream.R:201:3',
    'test-resp-stream.R:246:3', 'test-resp-stream.R:265:3',
    'test-resp-stream.R:287:3', 'test-resp-stream.R:309:3',
    'test-resp-stream.R:327:3', 'test-content-type.R:16:3',
    'test-content-type.R:24:3', 'test-content-type.R:55:3',
    'test-req-perform.R:12:3', 'test-req-perform.R:26:3',
    'test-req-perform.R:73:3', 'test-req-perform.R:190:3', 'test-headers.R:11:3',
    'test-headers.R:15:3', 'test-headers.R:23:3', 'test-headers.R:45:3',
    'test-oauth-client.R:3:3', 'test-oauth-client.R:11:3',
    'test-oauth-client.R:22:3', 'test-oauth-flow-auth-code.R:6:3',
    'test-oauth-flow-auth-code.R:75:3', 'test-oauth-flow-auth-code.R:107:3',
    'test-oauth-flow-auth-code.R:136:3', 'test-oauth-flow-jwt.R:37:3',
    'test-oauth-flow-refresh.R:37:3', 'test-curl.R:2:3', 'test-curl.R:6:3',
    'test-curl.R:80:3', 'test-curl.R:118:3', 'test-curl.R:131:3',
    'test-curl.R:139:3', 'test-curl.R:148:3', 'test-curl.R:156:3',
    'test-curl.R:165:3', 'test-curl.R:191:3', 'test-curl.R:230:3',
    'test-oauth-flow.R:9:3', 'test-oauth-flow.R:18:3', 'test-oauth-flow.R:50:3',
    'test-oauth-token.R:8:3', 'test-oauth-token.R:12:3', 'test-oauth.R:109:3',
    'test-req-body.R:33:3', 'test-req-body.R:79:3', 'test-req-body.R:165:3',
    'test-req-cache.R:95:3', 'test-req-cache.R:218:3', 'test-req-cache.R:232:3',
    'test-req-cache.R:248:3', 'test-req-cookies.R:13:3',
    'test-req-dry-run.R:14:3', 'test-req-dry-run.R:28:3',
    'test-req-error.R:21:3', 'test-req-auth-aws.R:52:3',
    'test-req-auth-aws.R:84:3', 'test-req-headers.R:22:3',
    'test-req-headers.R:79:3', 'test-req-headers.R:94:3', 'test-req-mock.R:19:3',
    'test-req-mock.R:38:3', 'test-req-perform-connection.R:2:3',
    'test-req-perform-connection.R:24:3', 'test-req-perform-connection.R:34:3',
    'test-req-perform-connection.R:62:3', 'test-req-options.R:40:3',
    'test-req-options.R:48:3', 'test-req-perform-iterative-helpers.R:4:3',
    'test-req-perform-iterative-helpers.R:63:3',
    'test-req-perform-iterative-helpers.R:85:3',
    'test-req-perform-parallel.R:3:3', 'test-req-perform-parallel.R:144:3',
    'test-req-perform-parallel.R:169:3', 'test-req-perform-parallel.R:192:3',
    'test-req-perform-parallel.R:206:3', 'test-req-perform-parallel.R:318:3',
    'test-req-perform-parallel.R:322:3', 'test-req-perform-sequential.R:3:3',
    'test-req-perform-stream.R:3:3', 'test-req-perform-stream.R:100:3',
    'test-req-perform-stream.R:109:3', 'test-req-policy.R:2:3',
    'test-req-promise.R:4:3', 'test-req-promise.R:31:3',
    'test-req-promise.R:122:5', 'test-req-perform-iterative.R:37:3',
    'test-req-perform-iterative.R:79:3', 'test-req-template.R:29:3',
    'test-req-template.R:45:3', 'test-req-throttle.R:2:3',
    'test-req-retries.R:3:3', 'test-req-retries.R:73:3',
    'test-req-retries.R:79:3', 'test-req-verbose.R:3:3',
    'test-req-verbose.R:29:3', 'test-req-verbose.R:38:3',
    'test-req-verbose.R:42:3', 'test-req-verbose.R:62:3', 'test-req.R:2:3',
    'test-req.R:11:3', 'test-req.R:15:3', 'test-req.R:30:3',
    'test-req-url.R:60:3', 'test-req-url.R:73:3', 'test-req-url.R:83:3',
    'test-resp-status.R:3:3', 'test-resp-stream-aws.R:55:3',
    'test-resp-body.R:15:3', 'test-resp-body.R:73:3', 'test-resp-body.R:80:3',
    'test-resp.R:10:3', 'test-resp.R:26:3', 'test-secret.R:40:3',
    'test-secret.R:67:3', 'test-utils-multi.R:45:3', 'test-utils.R:9:3',
    'test-utils.R:20:3', 'test-url.R:32:3', 'test-url.R:40:3', 'test-url.R:44:3',
    'test-url.R:58:3', 'test-url.R:106:3', 'test-url.R:179:3',
    'test-url.R:205:3', 'test-url.R:242:3'
  • has_paws_credentials() is not TRUE (1): 'test-req-auth-aws.R:15:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-resp-stream.R:35:3'): can determine if a stream is complete (non-blocking) ──
  resp_stream_is_complete(resp) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 1 | WARN 0 | SKIP 134 | PASS 685 ]
  Error: Test failures
  Execution halted