Running ‘testthat.R’ [39s/27s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(httr2)
  > 
  > test_check("httr2")
  Starting 2 test processes
  [ FAIL 1 | WARN 0 | SKIP 142 | PASS 766 ]
  
  ══ Skipped tests (142) ═════════════════════════════════════════════════════════
  • Can't find envvar HTTR2_KEY (1): 'test-oauth-flow-jwt.R:7:3'
  • On CRAN (140): 'test-resp-stream.R:40:3', 'test-resp-stream.R:61:3',
    'test-resp-stream.R:68:3', 'test-resp-stream.R:92:3',
    'test-resp-stream.R:164:3', 'test-resp-stream.R:182:3',
    'test-resp-stream.R:204:3', 'test-resp-stream.R:218:3',
    'test-resp-stream.R:263:3', 'test-resp-stream.R:282:3',
    'test-resp-stream.R:304:3', 'test-resp-stream.R:326:3',
    'test-resp-stream.R:346:3', 'test-content-type.R:16:3',
    'test-content-type.R:24:3', 'test-content-type.R:58:3',
    'test-req-perform.R:35:3', 'test-req-perform.R:49:3',
    'test-req-perform.R:97:3', 'test-req-perform.R:216:3', 'test-headers.R:11:3',
    'test-headers.R:15:3', 'test-headers.R:23:3', 'test-headers.R:37:3',
    'test-last.R:28:3', 'test-last.R:44:3', 'test-last.R:53:3',
    'test-last.R:63:3', 'test-oauth-client.R:3:3', 'test-oauth-client.R:11:3',
    'test-oauth-client.R:22:3', 'test-curl.R:2:3', 'test-curl.R:6:3',
    'test-curl.R:90:3', 'test-curl.R:128:3', 'test-curl.R:141:3',
    'test-curl.R:149:3', 'test-curl.R:160:3', 'test-curl.R:168:3',
    'test-curl.R:181:3', 'test-curl.R:211:3', 'test-curl.R:254:3',
    'test-oauth-flow-jwt.R:40:3', 'test-oauth-flow-refresh.R:37:3',
    'test-oauth-flow-auth-code.R:6:3', 'test-oauth-flow-auth-code.R:87:3',
    'test-oauth-flow-auth-code.R:116:3', 'test-oauth-token.R:8:3',
    'test-oauth-token.R:12:3', 'test-oauth-flow.R:9:3', 'test-oauth-flow.R:18:3',
    'test-oauth-flow.R:50:3', 'test-oauth.R:112:3', 'test-req-auth-aws.R:27:3',
    'test-req-auth-aws.R:69:3', 'test-req-auth-aws.R:103:3',
    'test-req-body.R:3:3', 'test-req-body.R:39:3', 'test-req-body.R:87:3',
    'test-req-body.R:127:3', 'test-req-body.R:153:3', 'test-req-cache.R:102:3',
    'test-req-cache.R:225:3', 'test-req-cache.R:239:3', 'test-req-cache.R:255:3',
    'test-req-dry-run.R:14:3', 'test-req-dry-run.R:28:3',
    'test-req-cookies.R:13:3', 'test-req-error.R:18:3', 'test-req-error.R:32:3',
    'test-req-error.R:37:3', 'test-req-headers.R:22:3',
    'test-req-headers.R:109:3', 'test-req-headers.R:124:3',
    'test-req-mock.R:26:3', 'test-req-options.R:40:3', 'test-req-options.R:48: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-perform-connection.R:99:3', 'test-req-perform-connection.R:105: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:163:3',
    'test-req-perform-parallel.R:188:3', 'test-req-perform-parallel.R:213:3',
    'test-req-perform-parallel.R:227:3', 'test-req-perform-sequential.R:3:3',
    'test-req-perform-stream.R:3:3', 'test-req-perform-stream.R:113:3',
    'test-req-perform-stream.R:122:3', 'test-req-policy.R:2:3',
    'test-req-perform-iterative.R:40:3', 'test-req-perform-iterative.R:105:3',
    'test-req-retries.R:3:3', 'test-req-retries.R:82:3',
    'test-req-retries.R:88:3', 'test-req-promise.R:4:3',
    'test-req-promise.R:31:3', 'test-req-promise.R:133:5',
    'test-req-throttle.R:2:3', 'test-req-template.R:29:3',
    'test-req-template.R:45:3', 'test-req-verbose.R:3:3',
    'test-req-verbose.R:33:3', 'test-req-verbose.R:45:3',
    'test-req-verbose.R:57:3', 'test-req-verbose.R:76: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:113:3', 'test-req-url.R:126:3', 'test-req-url.R:136:3',
    'test-resp-status.R:6:3', 'test-resp-stream-aws.R:63:3',
    'test-resp-body.R:16:3', 'test-resp-body.R:74:3', 'test-resp-body.R:81:3',
    'test-resp.R:9:3', 'test-resp.R:26:3', 'test-resp.R:30:3',
    'test-secret.R:39:3', 'test-secret.R:76:3', 'test-utils-multi.R:64:3',
    'test-utils-redacted.R:4:3', 'test-utils.R:9:3', 'test-utils.R:20:3',
    'test-url.R:31:3', 'test-url.R:37:3', 'test-url.R:51:3', 'test-url.R:114:3',
    'test-url.R:193:3', 'test-url.R:219:3', 'test-url.R:256:3'
  • has_paws_credentials() is not TRUE (1): 'test-req-auth-aws.R:31:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-resp-stream.R:36: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 142 | PASS 766 ]
  Error: Test failures
  Execution halted