CRAN Package Check Results for Package httptest

Last updated on 2026-06-07 20:51:48 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 4.2.3 3.54 58.80 62.34 OK
r-devel-linux-x86_64-debian-gcc 4.2.3 2.34 43.65 45.99 ERROR
r-devel-linux-x86_64-fedora-clang 4.2.3 95.74 OK
r-devel-linux-x86_64-fedora-gcc 4.2.3 108.83 OK
r-devel-windows-x86_64 4.2.3 7.00 85.00 92.00 OK
r-patched-linux-x86_64 4.2.3 3.80 56.19 59.99 OK
r-release-linux-x86_64 4.2.3 3.27 55.25 58.52 OK
r-release-macos-arm64 4.2.3 1.00 24.00 25.00 OK
r-release-macos-x86_64 4.2.3 3.00 80.00 83.00 OK
r-release-windows-x86_64 4.2.3 6.00 84.00 90.00 OK
r-oldrel-macos-arm64 4.2.2 2.00 22.00 24.00 OK
r-oldrel-macos-x86_64 4.2.3 3.00 79.00 82.00 OK
r-oldrel-windows-x86_64 4.2.3 8.00 103.00 111.00 OK

Check Details

Version: 4.2.3
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [8s/10s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > test_check("httptest") Loading required package: httptest Saving _problems/test-find-redactor-76.R Saving _problems/test-find-redactor-80.R Saving _problems/test-find-redactor-100.R Using request.R from "testpkg" [ FAIL 3 | WARN 0 | SKIP 13 | PASS 285 ] ══ Skipped tests (13) ══════════════════════════════════════════════════════════ • On CRAN (8): 'test-capture-requests.R:6:3', 'test-capture-requests.R:51:3', 'test-capture-requests.R:103:3', 'test-expect-header.R:111:5', 'test-mock-dir.R:26:5', 'test-offline.R:12:7', 'test-offline.R:19:9', 'test-without-internet.R:3:5' • TODO: handle URL escaping (1): 'test-redact.R:249:5' • TODO: prettify when simplify=FALSE (1): 'test-capture-requests.R:189:5' • third_edition is TRUE (2): 'test-expect-header.R:64:7', 'test-without-internet.R:73:7' • {testpkg} is not installed. (1): 'test-find-redactor.R:55:13' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-find-redactor.R:73:5'): Request preprocessing via package inst/httptest/request.R ── Error: GET http://pythong.org/api/object1/ (pythong.org/api/object1.json) Backtrace: ▆ 1. ├─testthat::expect_identical(...) at test-find-redactor.R:73:5 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─httr::content(GET("http://pythong.org/api/object1/")) 5. │ ├─base::stopifnot(is.response(x)) 6. │ └─httr:::is.response(x) 7. └─httr::GET("http://pythong.org/api/object1/") 8. └─httr:::request_perform(req, hu$handle$handle) 9. └─httr:::request_fetch(req$output, req$url, handle) 10. └─httptest (local) `<fn>`(req) 11. └─httptest:::stop_request(req) ── Failure ('test-find-redactor.R:80:5'): set_redactor(NULL) to override default (and loaded packages) ── Expected `"testpkg" %in% names(sessionInfo()$otherPkgs)` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE ── Error ('test-find-redactor.R:79:3'): set_redactor(NULL) to override default (and loaded packages) ── Error in `detach("package:testpkg", unload = TRUE)`: invalid 'name' argument Backtrace: ▆ 1. └─base::detach("package:testpkg", unload = TRUE) [ FAIL 3 | WARN 0 | SKIP 13 | PASS 285 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc