CRAN Package Check Results for Package mtaOpenData

Last updated on 2026-04-22 04:54:52 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 2.67 40.02 42.69 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 2.11 33.85 35.96 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 73.99 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 95.53 OK
r-devel-macos-arm64 0.1.0 1.00 39.00 40.00 OK
r-devel-windows-x86_64 0.1.0 4.00 66.00 70.00 OK
r-patched-linux-x86_64 0.1.0 2.83 41.34 44.17 OK
r-release-linux-x86_64 0.1.0 2.69 39.27 41.96 OK
r-release-macos-arm64 0.1.0 OK
r-release-macos-x86_64 0.1.0 2.00 98.00 100.00 OK
r-release-windows-x86_64 0.1.0 4.00 68.00 72.00 OK
r-oldrel-macos-x86_64 0.1.0 2.00 101.00 103.00 OK
r-oldrel-windows-x86_64 0.1.0 5.00 82.00 87.00 OK

Check Details

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [9s/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(mtaOpenData) > > test_check("mtaOpenData") crul not installed, skipping enable HttrAdapter enabled! httr2 not installed, skipping enable Saving _problems/test-mta_catalog_and_pull_dataset-140.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 80 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-mta_catalog_and_pull_dataset.R:137:3'): mta_pull_dataset input validation errors ── Error: MTA Open Data request failed (network unavailable or API slow). Try again later or increase `timeout_sec`. Underlying error: Timeout was reached [data.ny.gov]: Connection timed out after 10001 milliseconds Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-mta_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. └─mtaOpenData::mta_pull_dataset(...) 8. └─mtaOpenData:::.mta_catalog_tbl() 9. └─mtaOpenData:::.mta_dataset_request(...) 10. └─mtaOpenData:::.mta_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 0 | PASS 80 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang