Last updated on 2025-11-15 02:53:40 CET.
| Package | ERROR | OK |
|---|---|---|
| distro | 13 | |
| httpcache | 13 | |
| httptest | 3 | 10 |
| httptest2 | 3 | 10 |
| pivotaltrackR | 13 | |
| skeletor | 13 |
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: ERROR: 3, OK: 10
Version: 4.2.2
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [9s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> test_check("httptest")
Loading required package: httptest
Saving _problems/test-expect-header-18.R
Saving _problems/test-expect-header-33.R
[ FAIL 2 | WARN 0 | SKIP 12 | PASS 289 ]
══ Skipped tests (12) ══════════════════════════════════════════════════════════
• On CRAN (8): 'test-capture-requests.R:6:3', 'test-capture-requests.R:50:3',
'test-capture-requests.R:95:3', 'test-expect-header.R:108:5',
'test-mock-dir.R:22: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:243:5'
• TODO: prettify when simplify=FALSE (1): 'test-capture-requests.R:175:5'
• third_edition is TRUE (2): 'test-expect-header.R:61:7',
'test-without-internet.R:73:7'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-expect-header.R:10:7'): expect_header with fake HTTP ─────────
Expected exactly one failure and no successes.
Actually succeeded 1 times
Backtrace:
▆
1. ├─httptest::expect_GET(...) at test-expect-header.R:10:7
2. │ └─httptest:::expect_mock_request(object, "GET ", url, " ", ...)
3. │ └─request_happened()(...)
4. │ └─testthat:::expect_condition_matching_(...)
5. │ └─testthat:::quasi_capture(...)
6. │ ├─testthat (local) .capture(...)
7. │ │ └─base::withCallingHandlers(...)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. └─testthat::expect_failure(...)
── Failure ('test-expect-header.R:25:7'): expect_header with fake HTTP ─────────
Expected exactly one failure and no successes.
Actually succeeded 1 times
Backtrace:
▆
1. ├─httptest::expect_POST(...) at test-expect-header.R:25:7
2. │ └─httptest:::expect_mock_request(object, "POST ", url, " ", ...)
3. │ └─request_happened()(...)
4. │ └─testthat:::expect_condition_matching_(...)
5. │ └─testthat:::quasi_capture(...)
6. │ ├─testthat (local) .capture(...)
7. │ │ └─base::withCallingHandlers(...)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. └─testthat::expect_failure(...)
[ FAIL 2 | WARN 0 | SKIP 12 | PASS 289 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 4.2.2
Check: tests
Result: ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [20s/28s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> test_check("httptest")
Loading required package: httptest
Saving _problems/test-expect-header-18.R
Saving _problems/test-expect-header-33.R
[ FAIL 2 | WARN 0 | SKIP 12 | PASS 289 ]
══ Skipped tests (12) ══════════════════════════════════════════════════════════
• On CRAN (8): 'test-capture-requests.R:6:3', 'test-capture-requests.R:50:3',
'test-capture-requests.R:95:3', 'test-expect-header.R:108:5',
'test-mock-dir.R:22: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:243:5'
• TODO: prettify when simplify=FALSE (1): 'test-capture-requests.R:175:5'
• third_edition is TRUE (2): 'test-expect-header.R:61:7',
'test-without-internet.R:73:7'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-expect-header.R:10:7'): expect_header with fake HTTP ─────────
Expected exactly one failure and no successes.
Actually succeeded 1 times
Backtrace:
▆
1. ├─httptest::expect_GET(...) at test-expect-header.R:10:7
2. │ └─httptest:::expect_mock_request(object, "GET ", url, " ", ...)
3. │ └─request_happened()(...)
4. │ └─testthat:::expect_condition_matching_(...)
5. │ └─testthat:::quasi_capture(...)
6. │ ├─testthat (local) .capture(...)
7. │ │ └─base::withCallingHandlers(...)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. └─testthat::expect_failure(...)
── Failure ('test-expect-header.R:25:7'): expect_header with fake HTTP ─────────
Expected exactly one failure and no successes.
Actually succeeded 1 times
Backtrace:
▆
1. ├─httptest::expect_POST(...) at test-expect-header.R:25:7
2. │ └─httptest:::expect_mock_request(object, "POST ", url, " ", ...)
3. │ └─request_happened()(...)
4. │ └─testthat:::expect_condition_matching_(...)
5. │ └─testthat:::quasi_capture(...)
6. │ ├─testthat (local) .capture(...)
7. │ │ └─base::withCallingHandlers(...)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. └─testthat::expect_failure(...)
[ FAIL 2 | WARN 0 | SKIP 12 | PASS 289 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 4.2.2
Check: tests
Result: ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [22s/103s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> test_check("httptest")
Loading required package: httptest
Saving _problems/test-expect-header-18.R
Saving _problems/test-expect-header-33.R
[ FAIL 2 | WARN 0 | SKIP 12 | PASS 289 ]
══ Skipped tests (12) ══════════════════════════════════════════════════════════
• On CRAN (8): 'test-capture-requests.R:6:3', 'test-capture-requests.R:50:3',
'test-capture-requests.R:95:3', 'test-expect-header.R:108:5',
'test-mock-dir.R:22: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:243:5'
• TODO: prettify when simplify=FALSE (1): 'test-capture-requests.R:175:5'
• third_edition is TRUE (2): 'test-expect-header.R:61:7',
'test-without-internet.R:73:7'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-expect-header.R:10:7'): expect_header with fake HTTP ─────────
Expected exactly one failure and no successes.
Actually succeeded 1 times
Backtrace:
▆
1. ├─httptest::expect_GET(...) at test-expect-header.R:10:7
2. │ └─httptest:::expect_mock_request(object, "GET ", url, " ", ...)
3. │ └─request_happened()(...)
4. │ └─testthat:::expect_condition_matching_(...)
5. │ └─testthat:::quasi_capture(...)
6. │ ├─testthat (local) .capture(...)
7. │ │ └─base::withCallingHandlers(...)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. └─testthat::expect_failure(...)
── Failure ('test-expect-header.R:25:7'): expect_header with fake HTTP ─────────
Expected exactly one failure and no successes.
Actually succeeded 1 times
Backtrace:
▆
1. ├─httptest::expect_POST(...) at test-expect-header.R:25:7
2. │ └─httptest:::expect_mock_request(object, "POST ", url, " ", ...)
3. │ └─request_happened()(...)
4. │ └─testthat:::expect_condition_matching_(...)
5. │ └─testthat:::quasi_capture(...)
6. │ ├─testthat (local) .capture(...)
7. │ │ └─base::withCallingHandlers(...)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. └─testthat::expect_failure(...)
[ FAIL 2 | WARN 0 | SKIP 12 | PASS 289 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Current CRAN status: ERROR: 3, OK: 10
Version: 1.2.1
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
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-debian-gcc
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
Current CRAN status: OK: 13
Current CRAN status: OK: 13