Last updated on 2025-05-03 12:54:48 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.4.0 | 5.86 | 57.24 | 63.10 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.4.0 | 4.18 | 41.00 | 45.18 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.4.0 | 104.84 | NOTE | |||
r-devel-linux-x86_64-fedora-gcc | 0.4.0 | 116.91 | ERROR | |||
r-devel-windows-x86_64 | 0.4.0 | 7.00 | 0.00 | 7.00 | FAIL | |
r-patched-linux-x86_64 | 0.4.0 | 6.38 | 51.30 | 57.68 | ERROR | |
r-release-linux-x86_64 | ERROR | |||||
r-release-macos-arm64 | 0.4.0 | 46.00 | NOTE | |||
r-release-macos-x86_64 | 0.4.0 | 94.00 | NOTE | |||
r-release-windows-x86_64 | 0.4.0 | 7.00 | 0.00 | 7.00 | FAIL | |
r-oldrel-macos-arm64 | 0.4.0 | 52.00 | OK | |||
r-oldrel-macos-x86_64 | 0.4.0 | 73.00 | OK | |||
r-oldrel-windows-x86_64 | 0.4.0 | 9.00 | 1335.00 | 1344.00 | ERROR |
Version: 0.4.0
Check: DESCRIPTION meta-information
Result: NOTE
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘get_ntd.R’
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-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [3s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(ntdr)
>
> test_check("ntdr")
[ FAIL 6 | WARN 0 | SKIP 0 | PASS 1 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-get_ntd.R:4:3'): agency accepts character vector of length > 1 as input ──
Expected `get_ntd(agency = c("City of Madison", "Capital Area Transportation Authority"))` to run without any errors.
i Actually got a <httr2_failure> with text:
Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Stream error in the HTTP/2 framing layer [www.transit.dot.gov]: HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
── Error ('test-get_ntd.R:15:3'): column names are correct ─────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `get_ntd()`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Stream error in the HTTP/2 framing layer [www.transit.dot.gov]: HTTP/2 stream 3 was not closed cleanly: INTERNAL_ERROR (err 2)
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-get_ntd.R:15:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::colnames(get_ntd())
5. │ └─base::is.data.frame(x)
6. └─ntdr::get_ntd()
7. └─ntdr:::get_ntd_url(data_type)
8. ├─httr2::resp_body_html(...)
9. │ └─httr2:::check_response(resp)
10. │ └─httr2:::is_response(resp)
11. └─httr2::req_perform(...)
12. └─httr2:::handle_resp(req, resp, error_call = error_call)
13. └─rlang::cnd_signal(resp)
── Error ('test-get_ntd.R:38:3'): ntd variable has correct value ───────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `get_ntd()`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Stream error in the HTTP/2 framing layer [www.transit.dot.gov]: HTTP/2 stream 5 was not closed cleanly: INTERNAL_ERROR (err 2)
Backtrace:
▆
1. └─ntdr::get_ntd() at test-get_ntd.R:38:3
2. └─ntdr:::get_ntd_url(data_type)
3. ├─httr2::resp_body_html(...)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(...)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─rlang::cnd_signal(resp)
── Error ('test-get_ntd.R:45:3'): returns a URL that starts right ──────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `eval(code, test_env)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Stream error in the HTTP/2 framing layer [www.transit.dot.gov]: HTTP/2 stream 7 was not closed cleanly: INTERNAL_ERROR (err 2)
Backtrace:
▆
1. ├─testthat::expect_match(get_ntd_url(), regexp = "^https://www.transit.dot.gov/sites/fta.dot.gov/files/") at test-get_ntd.R:45:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─ntdr:::get_ntd_url()
5. ├─httr2::resp_body_html(...)
6. │ └─httr2:::check_response(resp)
7. │ └─httr2:::is_response(resp)
8. └─httr2::req_perform(...)
9. └─httr2:::handle_resp(req, resp, error_call = error_call)
10. └─rlang::cnd_signal(resp)
── Error ('test-get_ntd.R:49:3'): URL contains the right terms for different data_types ──
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `eval(code, test_env)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Stream error in the HTTP/2 framing layer [www.transit.dot.gov]: HTTP/2 stream 9 was not closed cleanly: INTERNAL_ERROR (err 2)
Backtrace:
▆
1. ├─testthat::expect_match(get_ntd_url("raw"), regexp = "Raw") at test-get_ntd.R:49:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─ntdr:::get_ntd_url("raw")
5. ├─httr2::resp_body_html(...)
6. │ └─httr2:::check_response(resp)
7. │ └─httr2:::is_response(resp)
8. └─httr2::req_perform(...)
9. └─httr2:::handle_resp(req, resp, error_call = error_call)
10. └─rlang::cnd_signal(resp)
── Error ('test-get_ntd.R:60:3'): a specific ridership value is correct ────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `get_ntd(agency = "City of Madison", modes = "MB")`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Stream error in the HTTP/2 framing layer [www.transit.dot.gov]: HTTP/2 stream 13 was not closed cleanly: INTERNAL_ERROR (err 2)
Backtrace:
▆
1. └─ntdr::get_ntd(agency = "City of Madison", modes = "MB") at test-get_ntd.R:60:3
2. └─ntdr:::get_ntd_url(data_type)
3. ├─httr2::resp_body_html(...)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(...)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─rlang::cnd_signal(resp)
[ FAIL 6 | WARN 0 | SKIP 0 | PASS 1 ]
Error: Test failures
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-release-linux-x86_64
Version: 0.4.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘ntdr.Rmd’ using rmarkdown
Quitting from ntdr.Rmd:34-38 [bare-get-ntd-call]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NULL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'ntdr.Rmd' failed with diagnostics:
Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Stream error in the HTTP/2 framing layer [www.transit.dot.gov]: HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
--- failed re-building ‘ntdr.Rmd’
SUMMARY: processing the following file failed:
‘ntdr.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(ntdr)
>
> test_check("ntdr")
[ FAIL 6 | WARN 0 | SKIP 0 | PASS 1 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-get_ntd.R:4:3'): agency accepts character vector of length > 1 as input ──
Expected `get_ntd(agency = c("City of Madison", "Capital Area Transportation Authority"))` to run without any errors.
i Actually got a <httr2_failure> with text:
Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Stream error in the HTTP/2 framing layer [www.transit.dot.gov]: HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
── Error ('test-get_ntd.R:15:3'): column names are correct ─────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `get_ntd()`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Stream error in the HTTP/2 framing layer [www.transit.dot.gov]: HTTP/2 stream 3 was not closed cleanly: INTERNAL_ERROR (err 2)
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-get_ntd.R:15:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::colnames(get_ntd())
5. │ └─base::is.data.frame(x)
6. └─ntdr::get_ntd()
7. └─ntdr:::get_ntd_url(data_type)
8. ├─httr2::resp_body_html(...)
9. │ └─httr2:::check_response(resp)
10. │ └─httr2:::is_response(resp)
11. └─httr2::req_perform(...)
12. └─httr2:::handle_resp(req, resp, error_call = error_call)
13. └─rlang::cnd_signal(resp)
── Error ('test-get_ntd.R:38:3'): ntd variable has correct value ───────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `get_ntd()`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Stream error in the HTTP/2 framing layer [www.transit.dot.gov]: HTTP/2 stream 5 was not closed cleanly: INTERNAL_ERROR (err 2)
Backtrace:
▆
1. └─ntdr::get_ntd() at test-get_ntd.R:38:3
2. └─ntdr:::get_ntd_url(data_type)
3. ├─httr2::resp_body_html(...)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(...)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─rlang::cnd_signal(resp)
── Error ('test-get_ntd.R:45:3'): returns a URL that starts right ──────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `eval(code, test_env)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Stream error in the HTTP/2 framing layer [www.transit.dot.gov]: HTTP/2 stream 7 was not closed cleanly: INTERNAL_ERROR (err 2)
Backtrace:
▆
1. ├─testthat::expect_match(get_ntd_url(), regexp = "^https://www.transit.dot.gov/sites/fta.dot.gov/files/") at test-get_ntd.R:45:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─ntdr:::get_ntd_url()
5. ├─httr2::resp_body_html(...)
6. │ └─httr2:::check_response(resp)
7. │ └─httr2:::is_response(resp)
8. └─httr2::req_perform(...)
9. └─httr2:::handle_resp(req, resp, error_call = error_call)
10. └─rlang::cnd_signal(resp)
── Error ('test-get_ntd.R:49:3'): URL contains the right terms for different data_types ──
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `eval(code, test_env)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Stream error in the HTTP/2 framing layer [www.transit.dot.gov]: HTTP/2 stream 9 was not closed cleanly: INTERNAL_ERROR (err 2)
Backtrace:
▆
1. ├─testthat::expect_match(get_ntd_url("raw"), regexp = "Raw") at test-get_ntd.R:49:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─ntdr:::get_ntd_url("raw")
5. ├─httr2::resp_body_html(...)
6. │ └─httr2:::check_response(resp)
7. │ └─httr2:::is_response(resp)
8. └─httr2::req_perform(...)
9. └─httr2:::handle_resp(req, resp, error_call = error_call)
10. └─rlang::cnd_signal(resp)
── Error ('test-get_ntd.R:60:3'): a specific ridership value is correct ────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `get_ntd(agency = "City of Madison", modes = "MB")`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Stream error in the HTTP/2 framing layer [www.transit.dot.gov]: HTTP/2 stream 13 was not closed cleanly: INTERNAL_ERROR (err 2)
Backtrace:
▆
1. └─ntdr::get_ntd(agency = "City of Madison", modes = "MB") at test-get_ntd.R:60:3
2. └─ntdr:::get_ntd_url(data_type)
3. ├─httr2::resp_body_html(...)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(...)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─rlang::cnd_signal(resp)
[ FAIL 6 | WARN 0 | SKIP 0 | PASS 1 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [10s/32s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(ntdr)
>
> test_check("ntdr")
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 6 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-get_ntd.R:45:3'): returns a URL that starts right ──────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `eval(code, test_env)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Stream error in the HTTP/2 framing layer [www.transit.dot.gov]: HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
Backtrace:
▆
1. ├─testthat::expect_match(get_ntd_url(), regexp = "^https://www.transit.dot.gov/sites/fta.dot.gov/files/") at test-get_ntd.R:45:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─ntdr:::get_ntd_url()
5. ├─httr2::resp_body_html(...)
6. │ └─httr2:::check_response(resp)
7. │ └─httr2:::is_response(resp)
8. └─httr2::req_perform(...)
9. └─httr2:::handle_resp(req, resp, error_call = error_call)
10. └─rlang::cnd_signal(resp)
── Error ('test-get_ntd.R:49:3'): URL contains the right terms for different data_types ──
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `eval(code, test_env)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Stream error in the HTTP/2 framing layer [www.transit.dot.gov]: HTTP/2 stream 3 was not closed cleanly: INTERNAL_ERROR (err 2)
Backtrace:
▆
1. ├─testthat::expect_match(get_ntd_url("raw"), regexp = "Raw") at test-get_ntd.R:49:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─ntdr:::get_ntd_url("raw")
5. ├─httr2::resp_body_html(...)
6. │ └─httr2:::check_response(resp)
7. │ └─httr2:::is_response(resp)
8. └─httr2::req_perform(...)
9. └─httr2:::handle_resp(req, resp, error_call = error_call)
10. └─rlang::cnd_signal(resp)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 6 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.4.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘ntdr.Rmd’ using rmarkdown
Quitting from ntdr.Rmd:34-38 [bare-get-ntd-call]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NULL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'ntdr.Rmd' failed with diagnostics:
Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Stream error in the HTTP/2 framing layer [www.transit.dot.gov]: HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
--- failed re-building ‘ntdr.Rmd’
SUMMARY: processing the following file failed:
‘ntdr.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.4.0
Check: tests
Result: FAIL
Check process probably crashed or hung up for 20 minutes ... killed
Most likely this happened in the example checks (?),
if not, ignore the following last lines of example output:
> ### Title: Get National Transit Database (NTD) data
> ### Aliases: get_ntd
>
> ### ** Examples
>
> ## Don't show:
> if (interactive()) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
+ ## End(Don't show)
+ get_ntd(agency = "City of Madison", modes = c("MB", "DR"))
+ ## Don't show:
+ }) # examplesIf
> ## End(Don't show)
>
>
>
> ### * <FOOTER>
> ###
> cleanEx()
> options(digits = 7L)
> base::cat("Time elapsed: ", proc.time() - base::get("ptime", pos = 'CheckExEnv'),"\n")
Time elapsed: 1.17 0.2 1.37 NA NA
> grDevices::dev.off()
null device
1
> ###
> ### Local variables: ***
> ### mode: outline-minor ***
> ### outline-regexp: "\\(> \\)?### [*]+" ***
> ### End: ***
> quit('no')
======== End of example output (where/before crash/hang up occured ?) ========
Flavor: r-devel-windows-x86_64
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(ntdr)
>
> test_check("ntdr")
[ FAIL 6 | WARN 0 | SKIP 0 | PASS 1 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-get_ntd.R:4:3'): agency accepts character vector of length > 1 as input ──
Expected `get_ntd(agency = c("City of Madison", "Capital Area Transportation Authority"))` to run without any errors.
i Actually got a <httr2_failure> with text:
Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Stream error in the HTTP/2 framing layer [www.transit.dot.gov]: HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
── Error ('test-get_ntd.R:15:3'): column names are correct ─────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `get_ntd()`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Stream error in the HTTP/2 framing layer [www.transit.dot.gov]: HTTP/2 stream 3 was not closed cleanly: INTERNAL_ERROR (err 2)
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-get_ntd.R:15:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::colnames(get_ntd())
5. │ └─base::is.data.frame(x)
6. └─ntdr::get_ntd()
7. └─ntdr:::get_ntd_url(data_type)
8. ├─httr2::resp_body_html(...)
9. │ └─httr2:::check_response(resp)
10. │ └─httr2:::is_response(resp)
11. └─httr2::req_perform(...)
12. └─httr2:::handle_resp(req, resp, error_call = error_call)
13. └─rlang::cnd_signal(resp)
── Error ('test-get_ntd.R:38:3'): ntd variable has correct value ───────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `get_ntd()`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Stream error in the HTTP/2 framing layer [www.transit.dot.gov]: HTTP/2 stream 5 was not closed cleanly: INTERNAL_ERROR (err 2)
Backtrace:
▆
1. └─ntdr::get_ntd() at test-get_ntd.R:38:3
2. └─ntdr:::get_ntd_url(data_type)
3. ├─httr2::resp_body_html(...)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(...)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─rlang::cnd_signal(resp)
── Error ('test-get_ntd.R:45:3'): returns a URL that starts right ──────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `eval(code, test_env)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Stream error in the HTTP/2 framing layer [www.transit.dot.gov]: HTTP/2 stream 7 was not closed cleanly: INTERNAL_ERROR (err 2)
Backtrace:
▆
1. ├─testthat::expect_match(get_ntd_url(), regexp = "^https://www.transit.dot.gov/sites/fta.dot.gov/files/") at test-get_ntd.R:45:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─ntdr:::get_ntd_url()
5. ├─httr2::resp_body_html(...)
6. │ └─httr2:::check_response(resp)
7. │ └─httr2:::is_response(resp)
8. └─httr2::req_perform(...)
9. └─httr2:::handle_resp(req, resp, error_call = error_call)
10. └─rlang::cnd_signal(resp)
── Error ('test-get_ntd.R:49:3'): URL contains the right terms for different data_types ──
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `eval(code, test_env)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Stream error in the HTTP/2 framing layer [www.transit.dot.gov]: HTTP/2 stream 9 was not closed cleanly: INTERNAL_ERROR (err 2)
Backtrace:
▆
1. ├─testthat::expect_match(get_ntd_url("raw"), regexp = "Raw") at test-get_ntd.R:49:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─ntdr:::get_ntd_url("raw")
5. ├─httr2::resp_body_html(...)
6. │ └─httr2:::check_response(resp)
7. │ └─httr2:::is_response(resp)
8. └─httr2::req_perform(...)
9. └─httr2:::handle_resp(req, resp, error_call = error_call)
10. └─rlang::cnd_signal(resp)
── Error ('test-get_ntd.R:60:3'): a specific ridership value is correct ────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `get_ntd(agency = "City of Madison", modes = "MB")`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Stream error in the HTTP/2 framing layer [www.transit.dot.gov]: HTTP/2 stream 13 was not closed cleanly: INTERNAL_ERROR (err 2)
Backtrace:
▆
1. └─ntdr::get_ntd(agency = "City of Madison", modes = "MB") at test-get_ntd.R:60:3
2. └─ntdr:::get_ntd_url(data_type)
3. ├─httr2::resp_body_html(...)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(...)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─rlang::cnd_signal(resp)
[ FAIL 6 | WARN 0 | SKIP 0 | PASS 1 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.4.0
Check: tests
Result: FAIL
Check process probably crashed or hung up for 20 minutes ... killed
Most likely this happened in the example checks (?),
if not, ignore the following last lines of example output:
> ### Title: Get National Transit Database (NTD) data
> ### Aliases: get_ntd
>
> ### ** Examples
>
> ## Don't show:
> if (interactive()) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
+ ## End(Don't show)
+ get_ntd(agency = "City of Madison", modes = c("MB", "DR"))
+ ## Don't show:
+ }) # examplesIf
> ## End(Don't show)
>
>
>
> ### * <FOOTER>
> ###
> cleanEx()
> options(digits = 7L)
> base::cat("Time elapsed: ", proc.time() - base::get("ptime", pos = 'CheckExEnv'),"\n")
Time elapsed: 1.25 0.16 1.41 NA NA
> grDevices::dev.off()
null device
1
> ###
> ### Local variables: ***
> ### mode: outline-minor ***
> ### outline-regexp: "\\(> \\)?### [*]+" ***
> ### End: ***
> quit('no')
======== End of example output (where/before crash/hang up occured ?) ========
Flavor: r-release-windows-x86_64
Version: 0.4.0
Check: tests
Result: ERROR
Running 'testthat.R' [20m]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(ntdr)
>
> test_check("ntdr")
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 6 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-get_ntd.R:45:3'): returns a URL that starts right ──────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `eval(code, test_env)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Failure when receiving data from the peer [www.transit.dot.gov]: Recv failure: Connection was reset
Backtrace:
▆
1. ├─testthat::expect_match(get_ntd_url(), regexp = "^https://www.transit.dot.gov/sites/fta.dot.gov/files/") at test-get_ntd.R:45:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─ntdr:::get_ntd_url()
5. ├─httr2::resp_body_html(...)
6. │ └─httr2:::check_response(resp)
7. │ └─httr2:::is_response(resp)
8. └─httr2::req_perform(...)
9. └─httr2:::handle_resp(req, resp, error_call = error_call)
10. └─rlang::cnd_signal(resp)
── Error ('test-get_ntd.R:49:3'): URL contains the right terms for different data_types ──
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `eval(code, test_env)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Timeout was reached [www.transit.dot.gov]: Operation too slow. Less than 1 bytes/sec transferred the last 600 seconds
Backtrace:
▆
1. ├─testthat::expect_match(get_ntd_url("raw"), regexp = "Raw") at test-get_ntd.R:49:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─ntdr:::get_ntd_url("raw")
5. ├─httr2::resp_body_html(...)
6. │ └─httr2:::check_response(resp)
7. │ └─httr2:::is_response(resp)
8. └─httr2::req_perform(...)
9. └─httr2:::handle_resp(req, resp, error_call = error_call)
10. └─rlang::cnd_signal(resp)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 6 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64
Version: 0.4.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'ntdr.Rmd' using rmarkdown
Quitting from ntdr.Rmd:34-38 [bare-get-ntd-call]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NULL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'ntdr.Rmd' failed with diagnostics:
Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Failure when receiving data from the peer [www.transit.dot.gov]: Recv failure: Connection was reset
--- failed re-building 'ntdr.Rmd'
SUMMARY: processing the following file failed:
'ntdr.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavor: r-oldrel-windows-x86_64