Last updated on 2025-11-14 10:49:58 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.2.1 | 3.59 | 53.26 | 56.85 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.2.1 | 2.49 | 40.96 | 43.45 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.2.1 | 11.00 | 77.82 | 88.82 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 1.2.1 | 16.00 | 89.36 | 105.36 | ERROR | |
| r-devel-windows-x86_64 | 1.2.1 | 7.00 | 72.00 | 79.00 | OK | |
| r-patched-linux-x86_64 | 1.2.1 | 3.63 | 50.25 | 53.88 | OK | |
| r-release-linux-x86_64 | 1.2.1 | 3.19 | 49.58 | 52.77 | OK | |
| r-release-macos-arm64 | 1.2.1 | 2.00 | 37.00 | 39.00 | OK | |
| r-release-macos-x86_64 | 1.2.1 | 3.00 | 59.00 | 62.00 | OK | |
| r-release-windows-x86_64 | 1.2.1 | 7.00 | 73.00 | 80.00 | OK | |
| r-oldrel-macos-arm64 | 1.2.1 | 2.00 | 36.00 | 38.00 | OK | |
| r-oldrel-macos-x86_64 | 1.2.1 | 3.00 | 63.00 | 66.00 | OK | |
| r-oldrel-windows-x86_64 | 1.2.1 | 7.00 | 87.00 | 94.00 | OK |
Version: 1.2.1
Check: tests
Result: ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [16s/22s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> test_check("httptest2")
Loading required package: httptest2
Saving _problems/test-expect-request-header-31.R
Saving _problems/test-expect-request-header-40.R
Saving _problems/test-expect-request-header-162.R
Saving _problems/test-expect-request-46.R
Saving _problems/test-expect-request-88.R
[ FAIL 5 | WARN 0 | SKIP 2 | PASS 233 ]
══ Skipped tests (2) ═══════════════════════════════════════════════════════════
• TODO: handle URL escaping (1): 'test-redact.R:180:5'
• TODO: prettify when simplify=FALSE (1): 'test-capture-requests.R:227:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-expect-request-header.R:23:5'): expect_request_header with mock API ──
Expected failure message to match regexp "Header \"accept\" does not match \"image/jpeg\"".
Actual message:
x | Expected Header "accept" to match regexp "image/jpeg".
| Actual text:
| x | image/png
── Failure ('test-expect-request-header.R:32:5'): expect_request_header with mock API ──
Expected failure message to match regexp "Header \"accept\" is not NULL".
Actual message:
x | Expected Header "accept" to be NULL.
| Differences:
| `actual` is a character vector ('image/png')
| `expected` is NULL
|
── Failure ('test-expect-request-header.R:153:5'): expect_request_header without_internet ──
Expected `object` not to throw any errors.
Actually got a <httptest2_request> with message:
An unexpected request was made:
GET http://httpbin.not/
Backtrace:
▆
1. ├─httptest2::expect_no_request(...) at test-expect-request-header.R:153:5
2. │ └─testthat::expect_error(object, NA, ..., class = "httptest2_request")
3. │ └─testthat:::expect_condition_matching_(...)
4. │ └─testthat:::quasi_capture(...)
5. │ ├─testthat (local) .capture(...)
6. │ │ └─base::withCallingHandlers(...)
7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
8. ├─testthat::expect_failure(...)
9. │ └─testthat:::capture_success_failure(expr)
10. │ └─base::withCallingHandlers(...)
11. ├─httptest2::expect_request_header(...)
12. │ └─httptest2:::with_mocked_responses(header_mocker, expr)
13. │ └─(utils::getFromNamespace("with_mocked_responses", "httr2"))(...)
14. │ └─withr::with_options(list(httr2_mock = mock), code)
15. │ └─base::force(code)
16. ├─... %>% req_perform()
17. └─httr2::req_perform(.)
18. └─httptest2 (local) mock(req)
19. └─httptest2 (local) current_mocker(req)
20. └─rlang::abort(out, mockfile = req$mockfile, class = "httptest2_request")
── Failure ('test-expect-request.R:43:7'): expect_VERB when no request is made ──
Expected failure message to match regexp "No request was made".
Actual message:
x | Expected `object` to throw a error with class <httptest2_request>.
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-expect-request.R:41:5
2. │ └─base::withCallingHandlers(...)
3. └─testthat::expect_failure(expect_POST("just a string"), "No request was made") at test-expect-request.R:43:7
── Error ('test-expect-request.R:75:5'): expect_request without_internet ───────
<httptest2_request/rlang_error/error/condition>
Error in `mock(req)`: An unexpected request was made:
POST http://httpbin.not/get {"test":true}
Backtrace:
▆
1. ├─testthat::expect_failure(...) at test-expect-request.R:75:5
2. │ └─testthat:::capture_success_failure(expr)
3. │ └─base::withCallingHandlers(...)
4. ├─httptest2::expect_POST(...)
5. │ └─httptest2:::expect_request(object, "POST ", url, " ", ...)
6. │ ├─base::withCallingHandlers(...)
7. │ └─testthat::expect_error(...)
8. │ └─testthat:::expect_condition_matching_(...)
9. │ └─testthat:::quasi_capture(...)
10. │ ├─testthat (local) .capture(...)
11. │ │ └─base::withCallingHandlers(...)
12. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
13. └─httr2::req_perform(this_req)
14. └─httptest2 (local) mock(req)
15. └─rlang::abort(out, mockfile = req$mockfile, class = "httptest2_request")
[ FAIL 5 | WARN 0 | SKIP 2 | PASS 233 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.2.1
Check: tests
Result: ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [17s/43s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> test_check("httptest2")
Loading required package: httptest2
Saving _problems/test-expect-request-header-31.R
Saving _problems/test-expect-request-header-40.R
Saving _problems/test-expect-request-header-162.R
Saving _problems/test-expect-request-46.R
Saving _problems/test-expect-request-88.R
[ FAIL 5 | WARN 0 | SKIP 2 | PASS 233 ]
══ Skipped tests (2) ═══════════════════════════════════════════════════════════
• TODO: handle URL escaping (1): 'test-redact.R:180:5'
• TODO: prettify when simplify=FALSE (1): 'test-capture-requests.R:227:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-expect-request-header.R:23:5'): expect_request_header with mock API ──
Expected failure message to match regexp "Header \"accept\" does not match \"image/jpeg\"".
Actual message:
x | Expected Header "accept" to match regexp "image/jpeg".
| Actual text:
| x | image/png
── Failure ('test-expect-request-header.R:32:5'): expect_request_header with mock API ──
Expected failure message to match regexp "Header \"accept\" is not NULL".
Actual message:
x | Expected Header "accept" to be NULL.
| Differences:
| `actual` is a character vector ('image/png')
| `expected` is NULL
|
── Failure ('test-expect-request-header.R:153:5'): expect_request_header without_internet ──
Expected `object` not to throw any errors.
Actually got a <httptest2_request> with message:
An unexpected request was made:
GET http://httpbin.not/
Backtrace:
▆
1. ├─httptest2::expect_no_request(...) at test-expect-request-header.R:153:5
2. │ └─testthat::expect_error(object, NA, ..., class = "httptest2_request")
3. │ └─testthat:::expect_condition_matching_(...)
4. │ └─testthat:::quasi_capture(...)
5. │ ├─testthat (local) .capture(...)
6. │ │ └─base::withCallingHandlers(...)
7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
8. ├─testthat::expect_failure(...)
9. │ └─testthat:::capture_success_failure(expr)
10. │ └─base::withCallingHandlers(...)
11. ├─httptest2::expect_request_header(...)
12. │ └─httptest2:::with_mocked_responses(header_mocker, expr)
13. │ └─(utils::getFromNamespace("with_mocked_responses", "httr2"))(...)
14. │ └─withr::with_options(list(httr2_mock = mock), code)
15. │ └─base::force(code)
16. ├─... %>% req_perform()
17. └─httr2::req_perform(.)
18. └─httptest2 (local) mock(req)
19. └─httptest2 (local) current_mocker(req)
20. └─rlang::abort(out, mockfile = req$mockfile, class = "httptest2_request")
── Failure ('test-expect-request.R:43:7'): expect_VERB when no request is made ──
Expected failure message to match regexp "No request was made".
Actual message:
x | Expected `object` to throw a error with class <httptest2_request>.
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-expect-request.R:41:5
2. │ └─base::withCallingHandlers(...)
3. └─testthat::expect_failure(expect_POST("just a string"), "No request was made") at test-expect-request.R:43:7
── Error ('test-expect-request.R:75:5'): expect_request without_internet ───────
<httptest2_request/rlang_error/error/condition>
Error in `mock(req)`: An unexpected request was made:
POST http://httpbin.not/get {"test":true}
Backtrace:
▆
1. ├─testthat::expect_failure(...) at test-expect-request.R:75:5
2. │ └─testthat:::capture_success_failure(expr)
3. │ └─base::withCallingHandlers(...)
4. ├─httptest2::expect_POST(...)
5. │ └─httptest2:::expect_request(object, "POST ", url, " ", ...)
6. │ ├─base::withCallingHandlers(...)
7. │ └─testthat::expect_error(...)
8. │ └─testthat:::expect_condition_matching_(...)
9. │ └─testthat:::quasi_capture(...)
10. │ ├─testthat (local) .capture(...)
11. │ │ └─base::withCallingHandlers(...)
12. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
13. └─httr2::req_perform(this_req)
14. └─httptest2 (local) mock(req)
15. └─rlang::abort(out, mockfile = req$mockfile, class = "httptest2_request")
[ FAIL 5 | WARN 0 | SKIP 2 | PASS 233 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc