CRAN Package Check Results for Package httptest2

Last updated on 2025-07-13 21:48:31 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.0 3.72 52.21 55.93 OK
r-devel-linux-x86_64-debian-gcc 1.2.0 2.81 39.94 42.75 ERROR
r-devel-linux-x86_64-fedora-clang 1.2.0 90.32 OK
r-devel-linux-x86_64-fedora-gcc 1.2.0 0.52 ERROR
r-devel-windows-x86_64 1.2.0 5.00 73.00 78.00 OK
r-patched-linux-x86_64 1.2.0 3.87 48.72 52.59 OK
r-release-linux-x86_64 1.2.0 3.18 48.20 51.38 OK
r-release-macos-arm64 1.1.0 59.00 OK
r-release-macos-x86_64 1.2.0 65.00 OK
r-release-windows-x86_64 1.2.0 5.00 77.00 82.00 OK
r-oldrel-macos-arm64 1.1.0 42.00 OK
r-oldrel-macos-x86_64 1.2.0 66.00 OK
r-oldrel-windows-x86_64 1.2.0 7.00 88.00 95.00 OK

Check Details

Version: 1.2.0
Check: dependencies in R code
Result: WARN Missing or unexported object: ‘httr2::with_mock’ Flavors: r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-gcc

Version: 1.2.0
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [7s/9s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > test_check("httptest2") Loading required package: httptest2 [ FAIL 1 | WARN 0 | SKIP 2 | PASS 237 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • TODO: handle URL escaping (1): 'test-redact.R:165:5' • TODO: prettify when simplify=FALSE (1): 'test-capture-requests.R:222:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-mock-api.R:251:3'): mock_request code paths are covered (outside of trace) ── Error in `req_get_body_type(req)`: `req` must be an HTTP request object, not a list. Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-mock-api.R:251:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─httptest2:::mock_request(list(method = "GET", url = "https://test.api/")) 5. └─httptest2::build_mock_url(get_current_redactor()(req)) 6. └─httptest2:::get_string_request_body(req) 7. └─httr2 (local) body_apply(req) 8. └─httr2::req_get_body_type(req = req) 9. └─httr2:::check_request(req) 10. └─httr2:::stop_input_type(...) 11. └─rlang::abort(message, ..., call = call, arg = arg) [ FAIL 1 | WARN 0 | SKIP 2 | PASS 237 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.2.0
Check: tests
Result: ERROR Running ‘spelling.R’ Running ‘testthat.R’ [16s/29s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > test_check("httptest2") Loading required package: httptest2 [ FAIL 1 | WARN 0 | SKIP 2 | PASS 237 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • TODO: handle URL escaping (1): 'test-redact.R:165:5' • TODO: prettify when simplify=FALSE (1): 'test-capture-requests.R:222:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-mock-api.R:251:3'): mock_request code paths are covered (outside of trace) ── Error in `req_get_body_type(req)`: `req` must be an HTTP request object, not a list. Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-mock-api.R:251:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─httptest2:::mock_request(list(method = "GET", url = "https://test.api/")) 5. └─httptest2::build_mock_url(get_current_redactor()(req)) 6. └─httptest2:::get_string_request_body(req) 7. └─httr2 (local) body_apply(req) 8. └─httr2::req_get_body_type(req = req) 9. └─httr2:::check_request(req) 10. └─httr2:::stop_input_type(...) 11. └─rlang::abort(message, ..., call = call, arg = arg) [ FAIL 1 | WARN 0 | SKIP 2 | PASS 237 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc