CRAN Package Check Results for Package nycOpenData

Last updated on 2026-05-03 11:51:36 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.1 2.57 254.25 256.82 OK
r-devel-linux-x86_64-debian-gcc 0.2.1 2.08 169.47 171.55 OK
r-devel-linux-x86_64-fedora-clang 0.2.1 469.99 OK
r-devel-linux-x86_64-fedora-gcc 0.2.1 421.76 OK
r-devel-windows-x86_64 0.2.1 6.00 311.00 317.00 OK
r-patched-linux-x86_64 0.2.1 2.49 247.41 249.90 OK
r-release-linux-x86_64 0.2.1 2.09 167.62 169.71 ERROR
r-release-macos-arm64 0.2.1 1.00 157.00 158.00 OK
r-release-macos-x86_64 0.2.1 2.00 373.00 375.00 OK
r-release-windows-x86_64 0.2.1 5.00 321.00 326.00 OK
r-oldrel-macos-arm64 0.2.1 1.00 155.00 156.00 OK
r-oldrel-macos-x86_64 0.2.1 2.00 365.00 367.00 OK
r-oldrel-windows-x86_64 0.2.1 7.00 402.00 409.00 OK

Check Details

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [40s/61s] 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") crul not installed, skipping enable HttrAdapter enabled! httr2 not installed, skipping enable Saving _problems/test-nyc_any_dataset-16.R Saving _problems/test-nyc_catalog_and_pull_dataset-195.R [ FAIL 2 | WARN 0 | SKIP 4 | PASS 53 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • Cassette not recorded yet for 'nyc_list_datasets_catalog'. Run with VCR_RECORD=once to create it. (1): 'test-nyc_catalog_and_pull_dataset.R:4:3' • Cassette not recorded yet for 'nyc_pull_dataset_key_lookup'. Run with VCR_RECORD=once to create it. (1): 'test-nyc_catalog_and_pull_dataset.R:104:3' • Cassette not recorded yet for 'nyc_pull_dataset_robust'. Run with VCR_RECORD=once to create it. (1): 'test-nyc_catalog_and_pull_dataset.R:18:3' • Cassette not recorded yet for 'nyc_pull_dataset_toggles'. Run with VCR_RECORD=once to create it. (1): 'test-nyc_catalog_and_pull_dataset.R:219:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-nyc_any_dataset.R:16:5'): nyc_any_dataset returns a tibble, respects limits, and supports postprocess toggles ── Error: NYC Open Data request failed with HTTP status 500. Try again later, or verify your filters. Response: {"message":"Internal error: please include code fcceb486-4264-4048-a27f-e21d78e77995 if you report the error","errorCode":"internal-error","data":{"tag":"fcceb486-4264-4048-a27f-e21d78e77995"}} Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-nyc_any_dataset.R:7:3 2. │ └─base::withCallingHandlers(...) 3. └─nycOpenData::nyc_any_dataset(...) at test-nyc_any_dataset.R:16:5 4. └─nycOpenData:::.nyc_get_json(json_link, query_list, timeout_sec = timeout_sec) ── Error ('test-nyc_catalog_and_pull_dataset.R:192:3'): nyc_pull_dataset input validation errors ── Error: NYC Open Data request failed with HTTP status 500. Try again later, or verify your filters. Response: {"message":"Internal error: please include code 0f3f6895-2dd1-45d5-8da3-c1ea2178ef3c if you report the error","errorCode":"internal-error","data":{"tag":"0f3f6895-2dd1-45d5-8da3-c1ea2178ef3c"}} Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-nyc_catalog_and_pull_dataset.R:192:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─nycOpenData::nyc_pull_dataset(dataset = "uvpi-gqnh", filters = list("NYPD")) 8. └─nycOpenData:::.nyc_catalog_tbl() 9. └─nycOpenData:::.nyc_dataset_request(...) 10. └─nycOpenData:::.nyc_get_json(endpoint, query_list, timeout_sec = timeout_sec) [ FAIL 2 | WARN 0 | SKIP 4 | PASS 53 ] Error: ! Test failures. Execution halted Flavor: r-release-linux-x86_64

Version: 0.2.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘Analyzing-the-Local-Law-97-of-2021-Pets-in-Shelter-Report.Rmd’ using rmarkdown --- finished re-building ‘Analyzing-the-Local-Law-97-of-2021-Pets-in-Shelter-Report.Rmd’ --- re-building ‘Using-Local-Law18-Pay-Report.Rmd’ using rmarkdown Quitting from Using-Local-Law18-Pay-Report.Rmd:49-58 [filter-brooklyn] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! NYC Open Data request failed with HTTP status 500. Try again later, or verify your filters. Response: {"message":"Internal error: please include code 8a490796-9147-4358-9baa-021ecf58b803 if you report the error","errorCode":"internal-error","data":{"tag":"8a490796-9147-4358-9baa-021ecf58b803"}} --- Backtrace: ▆ 1. └─nycOpenData::nyc_pull_dataset("423i-ukqr", limit = 3, filters = list(number_of_employees = "<5")) 2. └─nycOpenData:::.nyc_catalog_tbl() 3. └─nycOpenData:::.nyc_dataset_request(...) 4. └─nycOpenData:::.nyc_get_json(endpoint, query_list, timeout_sec = timeout_sec) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Using-Local-Law18-Pay-Report.Rmd' failed with diagnostics: NYC Open Data request failed with HTTP status 500. Try again later, or verify your filters. Response: {"message":"Internal error: please include code 8a490796-9147-4358-9baa-021ecf58b803 if you report the error","errorCode":"internal-error","data":{"tag":"8a490796-9147-4358-9baa-021ecf58b803"}} --- failed re-building ‘Using-Local-Law18-Pay-Report.Rmd’ --- re-building ‘analyzing-nyc-borough-population.Rmd’ using rmarkdown --- finished re-building ‘analyzing-nyc-borough-population.Rmd’ --- re-building ‘analyzing-nyc-shooting-incidents.Rmd’ using rmarkdown Quitting from analyzing-nyc-shooting-incidents.Rmd:34-40 [small-sample] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! NYC Open Data request failed with HTTP status 500. Try again later, or verify your filters. Response: {"message":"Internal error: please include code 454a0e78-3803-446b-a401-b5e3faac3147 if you report the error","errorCode":"internal-error","data":{"tag":"454a0e78-3803-446b-a401-b5e3faac3147"}} --- Backtrace: ▆ 1. └─nycOpenData::nyc_pull_dataset("98wc-x49t", limit = 3) 2. └─nycOpenData:::.nyc_catalog_tbl() 3. └─nycOpenData:::.nyc_dataset_request(...) 4. └─nycOpenData:::.nyc_get_json(endpoint, query_list, timeout_sec = timeout_sec) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'analyzing-nyc-shooting-incidents.Rmd' failed with diagnostics: NYC Open Data request failed with HTTP status 500. Try again later, or verify your filters. Response: {"message":"Internal error: please include code 454a0e78-3803-446b-a401-b5e3faac3147 if you report the error","errorCode":"internal-error","data":{"tag":"454a0e78-3803-446b-a401-b5e3faac3147"}} --- failed re-building ‘analyzing-nyc-shooting-incidents.Rmd’ --- re-building ‘analyzing-nyc_events_sealevel.Rmd’ using rmarkdown --- finished re-building ‘analyzing-nyc_events_sealevel.Rmd’ --- re-building ‘analyzing-nyc_wetlands.Rmd’ using rmarkdown Quitting from analyzing-nyc_wetlands.Rmd:51-57 [full-data] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! NYC Open Data request failed with HTTP status 500. Try again later, or verify your filters. Response: {"message":"Internal error: please include code 7d27818c-2daa-493c-a8a4-d171ce6c2e77 if you report the error","errorCode":"internal-error","data":{"tag":"7d27818c-2daa-493c-a8a4-d171ce6c2e77"}} --- Backtrace: ▆ 1. └─nycOpenData::nyc_pull_dataset("p48c-iqtu", limit = 100) 2. └─nycOpenData:::.nyc_catalog_tbl() 3. └─nycOpenData:::.nyc_dataset_request(...) 4. └─nycOpenData:::.nyc_get_json(endpoint, query_list, timeout_sec = timeout_sec) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'analyzing-nyc_wetlands.Rmd' failed with diagnostics: NYC Open Data request failed with HTTP status 500. Try again later, or verify your filters. Response: {"message":"Internal error: please include code 7d27818c-2daa-493c-a8a4-d171ce6c2e77 if you report the error","errorCode":"internal-error","data":{"tag":"7d27818c-2daa-493c-a8a4-d171ce6c2e77"}} --- failed re-building ‘analyzing-nyc_wetlands.Rmd’ --- re-building ‘getting-started.Rmd’ using rmarkdown Quitting from getting-started.Rmd:45-51 [nyc-311-pull] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! NYC Open Data request failed with HTTP status 500. Try again later, or verify your filters. Response: {"message":"Internal error: please include code e07a8e0c-0c22-4659-bd17-5d3b2eacd5c3 if you report the error","errorCode":"internal-error","data":{"tag":"e07a8e0c-0c22-4659-bd17-5d3b2eacd5c3"}} --- Backtrace: ▆ 1. └─nycOpenData::nyc_pull_dataset(dataset = "h9gi-nx95", limit = 2) 2. └─nycOpenData:::.nyc_dataset_request(...) 3. └─nycOpenData:::.nyc_get_json(endpoint, query_list, timeout_sec = timeout_sec) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'getting-started.Rmd' failed with diagnostics: NYC Open Data request failed with HTTP status 500. Try again later, or verify your filters. Response: {"message":"Internal error: please include code e07a8e0c-0c22-4659-bd17-5d3b2eacd5c3 if you report the error","errorCode":"internal-error","data":{"tag":"e07a8e0c-0c22-4659-bd17-5d3b2eacd5c3"}} --- failed re-building ‘getting-started.Rmd’ --- re-building ‘investigating-inmate-incidents.Rmd’ using rmarkdown Quitting from investigating-inmate-incidents.Rmd:35-41 [small-sample] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> 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. └─nycOpenData::nyc_pull_dataset(dataset = "gakf-suji", limit = 3) 2. └─nycOpenData:::.nyc_dataset_request(...) 3. └─nycOpenData:::.nyc_get_json(endpoint, query_list, timeout_sec = timeout_sec) 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: processing vignette 'investigating-inmate-incidents.Rmd' failed with diagnostics: 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 --- failed re-building ‘investigating-inmate-incidents.Rmd’ --- re-building ‘nyc_ha_violations.Rmd’ using rmarkdown --- finished re-building ‘nyc_ha_violations.Rmd’ SUMMARY: processing the following files failed: ‘Using-Local-Law18-Pay-Report.Rmd’ ‘analyzing-nyc-shooting-incidents.Rmd’ ‘analyzing-nyc_wetlands.Rmd’ ‘getting-started.Rmd’ ‘investigating-inmate-incidents.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-release-linux-x86_64