CRAN Package Check Results for Package mtaOpenData

Last updated on 2026-05-23 02:52:34 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 2.78 45.16 47.94 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 1.56 34.40 35.96 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 78.19 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 96.38 OK
r-devel-windows-x86_64 0.1.0 5.00 65.00 70.00 OK
r-patched-linux-x86_64 0.1.0 1.81 41.01 42.82 OK
r-release-linux-x86_64 0.1.0 2.70 41.74 44.44 OK
r-release-macos-arm64 0.1.0 1.00 43.00 44.00 OK
r-release-macos-x86_64 0.1.0 2.00 110.00 112.00 OK
r-release-windows-x86_64 0.1.0 4.00 66.00 70.00 ERROR
r-oldrel-macos-arm64 0.1.0 1.00 165.00 166.00 OK
r-oldrel-macos-x86_64 0.1.0 2.00 98.00 100.00 OK
r-oldrel-windows-x86_64 0.1.0 5.00 79.00 84.00 OK

Check Details

Version: 0.1.0
Check: tests
Result: ERROR Running 'testthat.R' [18s] 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-utils_request-53.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 93 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-utils_request.R:50:3'): .mta_get_json handles HTTP errors ────── Error: MTA Open Data request failed with HTTP status 502. Try again later, or verify your filters. Response: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</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. └─mtaOpenData:::.mta_get_json(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 93 ] Error: ! Test failures. Execution halted Flavor: r-release-windows-x86_64