CRAN Package Check Results for Package nycOpenData

Last updated on 2026-05-30 04:52:19 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.1 OK
r-devel-linux-x86_64-debian-gcc 0.2.1 1.80 157.64 159.44 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.1 454.35 OK
r-devel-linux-x86_64-fedora-gcc 0.2.1 422.12 OK
r-devel-windows-x86_64 0.2.1 7.00 324.00 331.00 OK
r-patched-linux-x86_64 0.2.1 2.09 247.00 249.09 OK
r-release-linux-x86_64 0.2.1 2.68 245.31 247.99 OK
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 329.00 334.00 ERROR
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 6.00 333.00 339.00 ERROR

Check Details

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [29s/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_catalog_and_pull_dataset-199.R [ FAIL 1 | WARN 0 | SKIP 4 | PASS 57 ] ══ 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_catalog_and_pull_dataset.R:196:3'): nyc_pull_dataset input validation errors ── Error: NYC Open Data request failed (network unavailable or API slow). Try again later or increase `timeout_sec`. Underlying error: Failure when receiving data from the peer [data.cityofnewyork.us]: Recv failure: Connection reset by peer Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-nyc_catalog_and_pull_dataset.R:196: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(steward = character(0))) 8. └─nycOpenData:::.nyc_catalog_tbl() 9. └─nycOpenData:::.nyc_dataset_request(...) 10. └─nycOpenData:::.nyc_get_json(endpoint, query_list, timeout_sec = timeout_sec) 11. └─base::tryCatch(...) 12. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 13. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 14. └─value[[3L]](cond) [ FAIL 1 | WARN 0 | SKIP 4 | PASS 57 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

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 --- finished 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 --- finished re-building ‘analyzing-nyc-shooting-incidents.Rmd’ --- re-building ‘analyzing-nyc_events_sealevel.Rmd’ using rmarkdown Quitting from analyzing-nyc_events_sealevel.Rmd:39-44 [retrieve-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 30001 milliseconds with 375115 bytes received --- Backtrace: ▆ 1. └─nycOpenData::nyc_pull_dataset("38ps-fnsg", limit = 10) 2. └─nycOpenData:::.nyc_catalog_tbl() 3. └─nycOpenData:::.nyc_dataset_request(...) 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: processing vignette 'analyzing-nyc_events_sealevel.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 30001 milliseconds with 375115 bytes received --- failed re-building ‘analyzing-nyc_events_sealevel.Rmd’ --- re-building ‘analyzing-nyc_wetlands.Rmd’ using rmarkdown --- finished re-building ‘analyzing-nyc_wetlands.Rmd’ --- re-building ‘getting-started.Rmd’ using rmarkdown Warning in get_engine(options$engine) : Unknown language engine 'text' (must be registered via knit_engines$set()). --- finished re-building ‘getting-started.Rmd’ --- re-building ‘investigating-inmate-incidents.Rmd’ using rmarkdown --- finished 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 file failed: ‘analyzing-nyc_events_sealevel.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.1
Check: tests
Result: ERROR Running 'testthat.R' [81s] 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-utils_request-53.R [ FAIL 1 | WARN 0 | SKIP 4 | PASS 60 ] ══ 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-utils_request.R:50:3'): .nyc_get_json handles HTTP errors ────── Error: NYC Open Data request failed with HTTP status 503. Try again later, or verify your filters. Response: <html> <head><title>503 Service Temporarily Unavailable</title></head> <body> <center><h1>503 Service Temporarily Unavailable</h1></center> </body> </html> Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-utils_request.R:50: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_get_json(...) [ FAIL 1 | WARN 0 | SKIP 4 | PASS 60 ] Error: ! Test failures. Execution halted Flavor: r-release-windows-x86_64

Version: 0.2.1
Check: tests
Result: ERROR Running 'testthat.R' [23s] 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-8.R Saving _problems/test-nyc_catalog_and_pull_dataset-140.R [ FAIL 2 | WARN 0 | SKIP 4 | PASS 40 ] ══ 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:8:5'): nyc_any_dataset returns a tibble, respects limits, and supports postprocess toggles ── 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 10016 milliseconds Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-nyc_any_dataset.R:7:3 2. │ └─base::withCallingHandlers(...) 3. └─nycOpenData::nyc_any_dataset(endpoint, limit = 2) at test-nyc_any_dataset.R:8:5 4. └─nycOpenData:::.nyc_get_json(json_link, 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_catalog_and_pull_dataset.R:137:3'): nyc_pull_dataset input validation errors ── 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 10015 milliseconds Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-nyc_catalog_and_pull_dataset.R:137: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(...) 8. └─nycOpenData:::.nyc_catalog_tbl() 9. └─nycOpenData:::.nyc_dataset_request(...) 10. └─nycOpenData:::.nyc_get_json(endpoint, query_list, timeout_sec = timeout_sec) 11. └─base::tryCatch(...) 12. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 13. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 14. └─value[[3L]](cond) [ FAIL 2 | WARN 0 | SKIP 4 | PASS 40 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64