Last updated on 2026-01-31 07:49:52 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.1.5 | 2.46 | 37.59 | 40.05 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.1.5 | 1.77 | 29.13 | 30.90 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.1.5 | 4.00 | 58.78 | 62.78 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 0.1.5 | 77.61 | OK | |||
| r-devel-windows-x86_64 | 0.1.5 | 5.00 | 67.00 | 72.00 | OK | |
| r-patched-linux-x86_64 | 0.1.5 | 2.70 | 32.44 | 35.14 | OK | |
| r-release-linux-x86_64 | 0.1.4 | 2.31 | 23.07 | 25.38 | OK | |
| r-release-macos-arm64 | 0.1.5 | 1.00 | 22.00 | 23.00 | OK | |
| r-release-macos-x86_64 | 0.1.5 | 2.00 | 63.00 | 65.00 | OK | |
| r-release-windows-x86_64 | 0.1.5 | 6.00 | 67.00 | 73.00 | OK | |
| r-oldrel-macos-arm64 | 0.1.5 | 1.00 | 29.00 | 30.00 | OK | |
| r-oldrel-macos-x86_64 | 0.1.5 | 2.00 | 124.00 | 126.00 | OK | |
| r-oldrel-windows-x86_64 | 0.1.5 | 6.00 | 72.00 | 78.00 | OK |
Version: 0.1.5
Check: examples
Result: ERROR
Running examples in ‘nycOpenData-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: nyc_school_discharge_report_2015_2018
> ### Title: 2015-2018 School Closure Discharge Reporting
> ### Aliases: nyc_school_discharge_report_2015_2018
>
> ### ** Examples
>
> # Quick example (fetch 2 rows)
> small_sample <- nyc_school_discharge_report_2015_2018(limit = 2)
Error in curl::curl_fetch_memory(url, handle = handle) :
Timeout was reached [data.cityofnewyork.us]:
Connection timed out after 10001 milliseconds
Calls: nyc_school_discharge_report_2015_2018 ... request_fetch.write_memory -> <Anonymous> -> raise_libcurl_error
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [1s/103s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(nycOpenData)
>
> test_check("nycOpenData")
Saving _problems/test-nyc_311-6.R
Saving _problems/test-nyc_311_2010_2019-6.R
Saving _problems/test-nyc_city_record-6.R
Saving _problems/test-nyc_open_parking_camera_violations-6.R
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 2 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-nyc_311.R:6:5'): nyc_311 returns a tibble and respects limits ──
Error: NYC Open Data request failed (network unavailable or API slow).
Try again later or increase `timeout_sec`.
Underlying error: Timeout was reached [data.cityofnewyork.us]:
Connection timed out after 10002 milliseconds
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-nyc_311.R:3:3
2. │ └─base::withCallingHandlers(...)
3. └─nycOpenData::nyc_311(limit = 2) at test-nyc_311.R:6:5
4. └─base::tryCatch(...)
5. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. └─value[[3L]](cond)
── Error ('test-nyc_311_2010_2019.R:6:5'): nyc_311_2010_2019 returns a tibble and respects limits ──
Error: NYC Open Data request failed (network unavailable or API slow).
Try again later or increase `timeout_sec`.
Underlying error: Timeout was reached [data.cityofnewyork.us]:
Connection timed out after 10000 milliseconds
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-nyc_311_2010_2019.R:3:3
2. │ └─base::withCallingHandlers(...)
3. └─nycOpenData::nyc_311_2010_2019(limit = 2) at test-nyc_311_2010_2019.R:6:5
4. └─base::tryCatch(...)
5. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. └─value[[3L]](cond)
── Error ('test-nyc_city_record.R:6:5'): nyc_city_record returns a tibble and respects limits ──
Error: NYC Open Data request failed (network unavailable or API slow).
Try again later or increase `timeout_sec`.
Underlying error: Timeout was reached [data.cityofnewyork.us]:
Operation timed out after 30002 milliseconds with 0 bytes received
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-nyc_city_record.R:3:3
2. │ └─base::withCallingHandlers(...)
3. └─nycOpenData::nyc_city_record(limit = 2) at test-nyc_city_record.R:6:5
4. └─nycOpenData:::.nyc_get_json(endpoint, query_list, timeout_sec = timeout_sec)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
── Error ('test-nyc_open_parking_camera_violations.R:6:5'): nyc_open_parking_camera_violations returns a tibble and respects limits ──
Error: NYC Open Data request failed (network unavailable or API slow).
Try again later or increase `timeout_sec`.
Underlying error: Timeout was reached [data.cityofnewyork.us]:
Operation timed out after 30002 milliseconds with 0 bytes received
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-nyc_open_parking_camera_violations.R:3:3
2. │ └─base::withCallingHandlers(...)
3. └─nycOpenData::nyc_open_parking_camera_violations(limit = 2) at test-nyc_open_parking_camera_violations.R:6:5
4. └─nycOpenData:::.nyc_get_json(endpoint, query_list, timeout_sec = timeout_sec)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 2 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc