CRAN Package Check Results for Package httr2

Last updated on 2024-11-13 03:50:05 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.6 8.92 133.18 142.10 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.6 6.67 89.79 96.46 OK
r-devel-linux-x86_64-fedora-clang 1.0.6 232.77 OK
r-devel-linux-x86_64-fedora-gcc 1.0.6 227.68 OK
r-devel-windows-x86_64 1.0.6 20.00 152.00 172.00 OK
r-patched-linux-x86_64 1.0.6 10.42 122.45 132.87 OK
r-release-linux-x86_64 1.0.6 9.37 121.45 130.82 OK
r-release-macos-arm64 1.0.6 100.00 OK
r-release-macos-x86_64 1.0.6 141.00 OK
r-release-windows-x86_64 1.0.6 19.00 149.00 168.00 ERROR
r-oldrel-macos-arm64 1.0.6 103.00 OK
r-oldrel-macos-x86_64 1.0.6 132.00 OK
r-oldrel-windows-x86_64 1.0.6 25.00 169.00 194.00 OK

Check Details

Version: 1.0.6
Check: tests
Result: ERROR Running ‘testthat.R’ [67s/48s] 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 95 | PASS 629 ] ══ Skipped tests (95) ══════════════════════════════════════════════════════════ • Can't find envvar HTTR2_KEY (2): 'test-oauth-client.R:74:3', 'test-oauth-flow-jwt.R:7:3' • On CRAN (92): 'test-req-perform.R:14:3', 'test-req-perform.R:25:3', 'test-req-perform.R:189:3', 'test-req-perform.R:210:3', 'test-req-perform.R:220:3', 'test-content-type.R:16:3', 'test-content-type.R:24:3', 'test-content-type.R:55:3', 'test-curl.R:2:3', 'test-curl.R:6:3', 'test-curl.R:76:3', 'test-curl.R:114:3', 'test-curl.R:127:3', 'test-curl.R:135:3', 'test-curl.R:164:3', 'test-curl.R:201:3', 'test-headers.R:11:3', 'test-headers.R:15:3', 'test-headers.R:37:3', 'test-resp-stream.R:24:3', 'test-iterate-helpers.R:4:3', 'test-iterate-helpers.R:63:3', 'test-iterate-helpers.R:85:3', 'test-iterate.R:40:3', 'test-iterate.R:83:3', 'test-oauth-client.R:3:3', 'test-oauth-client.R:11:3', 'test-oauth-client.R:20:3', 'test-oauth-flow-auth-code.R:6:3', 'test-oauth-flow-auth-code.R:75:3', 'test-oauth-flow-auth-code.R:98:3', 'test-oauth-flow-auth-code.R:127:3', 'test-oauth-flow-jwt.R:37:3', 'test-oauth-flow-refresh.R:37:3', 'test-oauth-flow.R:9:3', 'test-oauth-flow.R:18:3', 'test-oauth-flow.R:32:3', 'test-oauth-token.R:9:3', 'test-oauth.R:109:3', 'test-multi-req.R:3:3', 'test-multi-req.R:93:3', 'test-multi-req.R:139:3', 'test-multi-req.R:143:3', 'test-req-body.R:33:3', 'test-req-body.R:79:3', 'test-req-body.R:165:3', 'test-req-auth-aws.R:52:3', 'test-req-cookies.R:13:3', 'test-req-error.R:21:3', 'test-req-headers.R:33: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-mock.R:19:3', 'test-req-mock.R:38:3', 'test-req-options.R:39:3', 'test-req-options.R:54:3', 'test-req-options.R:63: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-perform-connection.R:2:3', 'test-req-retries.R:66:3', 'test-req-retries.R:72:3', 'test-req-template.R:29:3', 'test-req-template.R:45:3', 'test-req-throttle.R:2:3', 'test-req-throttle.R:19:3', 'test-req-url.R:62:3', 'test-req-url.R:72:3', 'test-req.R:2:3', 'test-req.R:11:3', 'test-req.R:26:3', 'test-resp-status.R:3:3', 'test-resp-body.R:15:3', 'test-resp-body.R:73:3', 'test-resp-body.R:80:3', 'test-resp-stream-aws.R:55:3', 'test-secret.R:40:3', 'test-secret.R:67:3', 'test-resp.R:10:3', 'test-resp.R:26:3', 'test-sequential.R:3:3', 'test-url.R:35:3', 'test-url.R:50:3', 'test-url.R:72:3', 'test-url.R:109:3', 'test-utils-multi.R:45:3', 'test-utils.R:9:3', 'test-utils.R:33:3' • has_paws_credentials() is not TRUE (1): 'test-req-auth-aws.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-resp-stream-aws.R:35:3'): can return various types of header ─── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'bit64' Backtrace: ▆ 1. ├─testthat::expect_equal(parse_aws_event(bytes)$headers, list(foo = expected)) at test-resp-stream-aws.R:35:3 2. │ └─testthat:::expect_waldo_equal("equal", act, exp, info, ..., tolerance = tolerance) 3. │ └─testthat:::waldo_compare(...) 4. │ └─waldo::compare(x, y, ..., x_arg = x_arg, y_arg = y_arg) 5. │ └─waldo:::compare_structure(x, y, paths = c(x_arg, y_arg), opts = opts) 6. │ └─waldo:::compare_by_name(x, y, paths, opts) 7. │ └─waldo:::compare_structure(...) 8. │ └─waldo:::compare_vector(x, y, paths = paths, opts = opts) 9. │ └─waldo:::num_equal(x, y, opts$tolerance) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 1 | WARN 0 | SKIP 95 | PASS 629 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.6
Check: tests
Result: ERROR Running 'testthat.R' [44s] 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 96 | PASS 628 ] ══ Skipped tests (96) ══════════════════════════════════════════════════════════ • Can't find envvar HTTR2_KEY (2): 'test-oauth-client.R:74:3', 'test-oauth-flow-jwt.R:7:3' • On CRAN (92): 'test-req-perform.R:14:3', 'test-req-perform.R:25:3', 'test-req-perform.R:189:3', 'test-req-perform.R:210:3', 'test-req-perform.R:220:3', 'test-content-type.R:16:3', 'test-content-type.R:24:3', 'test-content-type.R:55:3', 'test-curl.R:2:3', 'test-curl.R:6:3', 'test-curl.R:76:3', 'test-curl.R:114:3', 'test-curl.R:127:3', 'test-curl.R:135:3', 'test-curl.R:164:3', 'test-curl.R:201:3', 'test-headers.R:11:3', 'test-headers.R:15:3', 'test-headers.R:37:3', 'test-iterate-helpers.R:4:3', 'test-iterate-helpers.R:63:3', 'test-iterate-helpers.R:85:3', 'test-resp-stream.R:24:3', 'test-iterate.R:40:3', 'test-iterate.R:83:3', 'test-oauth-client.R:3:3', 'test-oauth-client.R:11:3', 'test-oauth-client.R:20:3', 'test-oauth-flow-auth-code.R:6:3', 'test-oauth-flow-auth-code.R:75:3', 'test-oauth-flow-auth-code.R:98:3', 'test-oauth-flow-auth-code.R:127:3', 'test-oauth-flow-jwt.R:37:3', 'test-oauth-flow-refresh.R:37:3', 'test-oauth-flow.R:9:3', 'test-oauth-flow.R:18:3', 'test-oauth-flow.R:32:3', 'test-oauth-token.R:9:3', 'test-oauth.R:109:3', 'test-req-auth-aws.R:52:3', 'test-req-body.R:33:3', 'test-req-body.R:79:3', 'test-req-body.R:165:3', 'test-multi-req.R:3:3', 'test-multi-req.R:93:3', 'test-multi-req.R:139:3', 'test-multi-req.R:143: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-error.R:21:3', 'test-req-headers.R:33:3', 'test-req-mock.R:19:3', 'test-req-mock.R:38:3', 'test-req-options.R:39:3', 'test-req-options.R:54:3', 'test-req-options.R:63: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-perform-connection.R:2:3', 'test-req-retries.R:66:3', 'test-req-retries.R:72:3', 'test-req-template.R:29:3', 'test-req-template.R:45:3', 'test-req-throttle.R:2:3', 'test-req-throttle.R:19:3', 'test-req-url.R:62:3', 'test-req-url.R:72:3', 'test-req.R:2:3', 'test-req.R:11:3', 'test-req.R:26:3', 'test-resp-body.R:15:3', 'test-resp-body.R:73:3', 'test-resp-body.R:80:3', 'test-resp-status.R:3:3', 'test-resp-stream-aws.R:55:3', 'test-resp.R:10:3', 'test-resp.R:26:3', 'test-secret.R:40:3', 'test-secret.R:67:3', 'test-url.R:35:3', 'test-url.R:50:3', 'test-url.R:72:3', 'test-url.R:109:3', 'test-utils-multi.R:45:3', 'test-utils.R:9:3', 'test-utils.R:33:3', 'test-sequential.R:3:3' • On Windows (1): 'test-req-body.R:128:3' • has_paws_credentials() is not TRUE (1): 'test-req-auth-aws.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-resp-stream-aws.R:35:3'): can return various types of header ─── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'bit64' Backtrace: ▆ 1. ├─testthat::expect_equal(parse_aws_event(bytes)$headers, list(foo = expected)) at test-resp-stream-aws.R:35:3 2. │ └─testthat:::expect_waldo_equal("equal", act, exp, info, ..., tolerance = tolerance) 3. │ └─testthat:::waldo_compare(...) 4. │ └─waldo::compare(x, y, ..., x_arg = x_arg, y_arg = y_arg) 5. │ └─waldo:::compare_structure(x, y, paths = c(x_arg, y_arg), opts = opts) 6. │ └─waldo:::compare_by_name(x, y, paths, opts) 7. │ └─waldo:::compare_structure(...) 8. │ └─waldo:::compare_vector(x, y, paths = paths, opts = opts) 9. │ └─waldo:::num_equal(x, y, opts$tolerance) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 1 | WARN 0 | SKIP 96 | PASS 628 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64