- using R version 4.4.3 RC (2025-02-20 r87814)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-16) 14.2.0
GNU Fortran (Debian 14.2.0-16) 14.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘httr2/DESCRIPTION’ ... OK
- this is package ‘httr2’ version ‘1.1.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘httr2’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking whether startup messages can be suppressed ... [1s/1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [16s/24s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking R/sysdata.rda ... OK
- checking line endings in shell scripts ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [11s/48s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
req_perform_iterative 0.467 0.098 9.317
req_url 0.294 0.003 11.085
req_auth_bearer_token 0.146 0.003 6.763
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [68s/197s] ERROR
Running ‘testthat.R’ [68s/197s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(httr2)
Attaching package: 'httr2'
The following objects are masked from 'package:testthat':
local_mock, with_mock
>
> test_check("httr2")
Starting 2 test processes
[ FAIL 3 | WARN 1 | SKIP 111 | PASS 676 ]
══ Skipped tests (111) ═════════════════════════════════════════════════════════
• Can't find envvar HTTR2_KEY (2): 'test-oauth-client.R:74:3',
'test-oauth-flow-jwt.R:7:3'
• On CRAN (108): 'test-multi-req.R:3:3', 'test-multi-req.R:89:3',
'test-multi-req.R:135:3', 'test-multi-req.R:139:3',
'test-req-perform.R:14:3', 'test-req-perform.R:25:3',
'test-req-perform.R:189:3', 'test-req-perform.R:210:3',
'test-req-perform.R:220:3', 'test-content-type.R:16:3',
'test-content-type.R:24:3', 'test-content-type.R:55:3', 'test-curl.R:2:3',
'test-curl.R:6:3', 'test-curl.R:80:3', 'test-curl.R:118:3',
'test-curl.R:131:3', 'test-curl.R:139:3', 'test-curl.R:148:3',
'test-curl.R:156:3', 'test-curl.R:165:3', 'test-curl.R:193:3',
'test-curl.R:230:3', 'test-headers.R:11:3', 'test-headers.R:15:3',
'test-headers.R:37:3', 'test-iterate-helpers.R:4:3',
'test-iterate-helpers.R:63:3', 'test-iterate-helpers.R:85:3',
'test-resp-stream.R:46:3', 'test-resp-stream.R:56:3',
'test-resp-stream.R:303:3', 'test-resp-stream.R:320:3',
'test-oauth-client.R:3:3', 'test-oauth-client.R:11:3',
'test-oauth-client.R:20:3', 'test-oauth-flow-auth-code.R:6:3',
'test-oauth-flow-auth-code.R:75:3', 'test-oauth-flow-auth-code.R:98:3',
'test-oauth-flow-auth-code.R:127:3', 'test-oauth-flow-jwt.R:37:3',
'test-oauth-flow-refresh.R:37:3', 'test-oauth-flow.R:9:3',
'test-oauth-flow.R:18:3', 'test-oauth-flow.R:50:3', 'test-oauth-token.R:9:3',
'test-oauth.R:109:3', 'test-req-auth-aws.R:50:3', 'test-iterate.R:40:3',
'test-iterate.R:83:3', 'test-req-body.R:33:3', 'test-req-body.R:79:3',
'test-req-body.R:165:3', 'test-req-cache.R:95:3', 'test-req-cache.R:218:3',
'test-req-cache.R:232:3', 'test-req-cache.R:248:3', 'test-req-error.R:21:3',
'test-req-cookies.R:13:3', 'test-req-headers.R:35:3', 'test-req-mock.R:19:3',
'test-req-mock.R:38:3', 'test-req-options.R:39:3', 'test-req-options.R:54:3',
'test-req-options.R:63:3', 'test-req-perform-stream.R:3:3',
'test-req-perform-stream.R:100:3', 'test-req-perform-stream.R:109:3',
'test-req-policy.R:2:3', 'test-req-promise.R:4:3', 'test-req-promise.R:31:3',
'test-req-promise.R:122:5', 'test-req-perform-connection.R:2:3',
'test-req-template.R:29:3', 'test-req-template.R:45:3',
'test-req-throttle.R:2:3', 'test-req-throttle.R:19:3',
'test-req-retries.R:3:3', 'test-req-retries.R:73:3',
'test-req-retries.R:79:3', 'test-req.R:2:3', 'test-req.R:11:3',
'test-req.R:15:3', 'test-req.R:30:3', 'test-req-url.R:60:3',
'test-req-url.R:73:3', 'test-req-url.R:83:3', 'test-resp-status.R:3:3',
'test-resp-stream-aws.R:55:3', 'test-resp-body.R:15:3',
'test-resp-body.R:73:3', 'test-resp-body.R:80:3', 'test-resp.R:10:3',
'test-resp.R:26:3', 'test-secret.R:40:3', 'test-secret.R:67:3',
'test-sequential.R:3:3', 'test-utils-multi.R:45:3', 'test-utils.R:9:3',
'test-utils.R:33:3', 'test-url.R:32:3', 'test-url.R:40:3', 'test-url.R:44:3',
'test-url.R:58:3', 'test-url.R:106:3', 'test-url.R:179:3',
'test-url.R:205:3', 'test-url.R:242:3'
• has_paws_credentials() is not TRUE (1): 'test-req-auth-aws.R:2:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-multi-req.R:7:3'): correctly prepares request ──────────────────
<rlib_error_3_0/rlib_error/error/condition>
Error in `"rs_init(self, private, super, options, wait, wait_timeout)"`: ! Could not start R session, timed out
Backtrace:
▆
1. ├─request_test("/post") %>% req_method("POST") at test-multi-req.R:7:3
2. ├─httr2::req_method(., "POST")
3. │ └─httr2:::check_request(req)
4. │ └─httr2:::is_request(req)
5. └─httr2:::request_test("/post")
6. ├─httr2::request(example_url())
7. │ └─httr2:::new_request(base_url)
8. │ └─httr2:::check_string(url, call = error_call)
9. │ └─httr2:::.rlang_check_is_string(...)
10. │ └─rlang::is_string(x)
11. └─httr2::example_url()
12. └─the$test_app$url()
13. └─self$start()
14. └─callr::r_session$new(callr_opts, wait = TRUE)
15. └─callr (local) initialize(...)
16. └─callr:::rs_init(self, private, super, options, wait, wait_timeout)
17. └─throw(new_error("Could not start R session, timed out"))
── Error ('test-req-perform.R:68:3'): can retry a transient error ──────────────
Error in `self$start()`: webfakes app subprocess did not start :(
Backtrace:
▆
1. └─httr2:::local_app_request(...) at test-req-perform.R:68:3
2. ├─httr2::request(server$url("/test")) at tests/testthat/helper-webfakes.R:12:3
3. │ └─httr2:::new_request(base_url)
4. │ └─httr2:::check_string(url, call = error_call)
5. │ └─httr2:::.rlang_check_is_string(...)
6. │ └─rlang::is_string(x)
7. └─server$url("/test")
8. └─self$start()
── Error ('test-resp-stream.R:262:3'): streaming size limits enforced ──────────
<rlib_error_3_0/rlib_error/error/condition>
Error in `"rs_init(self, private, super, options, wait, wait_timeout)"`: ! Could not start R session, timed out
Backtrace:
▆
1. └─httr2:::local_app_request(...) at test-resp-stream.R:262:3
2. ├─httr2::request(server$url("/test")) at tests/testthat/helper-webfakes.R:12:3
3. │ └─httr2:::new_request(base_url)
4. │ └─httr2:::check_string(url, call = error_call)
5. │ └─httr2:::.rlang_check_is_string(...)
6. │ └─rlang::is_string(x)
7. └─server$url("/test")
8. └─self$start()
9. └─callr::r_session$new(callr_opts, wait = TRUE)
10. └─callr (local) initialize(...)
11. └─callr:::rs_init(self, private, super, options, wait, wait_timeout)
12. └─throw(new_error("Could not start R session, timed out"))
[ FAIL 3 | WARN 1 | SKIP 111 | PASS 676 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [4s/6s] OK
- checking PDF version of manual ... [7s/9s] OK
- checking HTML version of manual ... [3s/7s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR