CRAN Package Check Results for Package httptest2

Last updated on 2025-07-17 19:51:40 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.0 3.42 51.68 55.10 ERROR
r-devel-linux-x86_64-debian-gcc 1.2.0 2.68 40.46 43.14 ERROR
r-devel-linux-x86_64-fedora-clang 1.2.0 91.86 ERROR
r-devel-linux-x86_64-fedora-gcc 1.2.0 86.83 ERROR
r-devel-windows-x86_64 1.2.0 6.00 73.00 79.00 ERROR
r-patched-linux-x86_64 1.2.0 3.21 48.76 51.97 ERROR
r-release-linux-x86_64 1.2.0 3.18 48.20 51.38 OK
r-release-macos-arm64 1.2.0 36.00 OK
r-release-macos-x86_64 1.2.0 65.00 OK
r-release-windows-x86_64 1.2.0 6.00 73.00 79.00 ERROR
r-oldrel-macos-arm64 1.2.0 43.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 ERROR

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-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 1.2.0
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [10s/12s] 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-clang

Version: 1.2.0
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [7s/10s] 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/40s] 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-clang

Version: 1.2.0
Check: tests
Result: ERROR Running ‘spelling.R’ Running ‘testthat.R’ [13s/24s] 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

Version: 1.2.0
Check: tests
Result: ERROR Running 'spelling.R' [0s] Running 'testthat.R' [11s] 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-windows-x86_64

Version: 1.2.0
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [9s/11s] 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-patched-linux-x86_64

Version: 1.2.0
Check: tests
Result: ERROR Running 'spelling.R' [0s] Running 'testthat.R' [10s] 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-release-windows-x86_64

Version: 1.2.0
Check: tests
Result: ERROR Running 'spelling.R' [0s] Running 'testthat.R' [13s] 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-oldrel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.