CRAN Package Check Results for Package naptanr

Last updated on 2024-06-04 19:47:55 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 2.61 40.44 43.05 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.1 2.06 31.53 33.59 OK
r-devel-linux-x86_64-fedora-clang 1.0.1 57.99 OK
r-devel-linux-x86_64-fedora-gcc 1.0.1 53.37 OK
r-devel-windows-x86_64 1.0.1 4.00 100.00 104.00 OK
r-patched-linux-x86_64 1.0.1 2.74 40.11 42.85 OK
r-release-linux-x86_64 1.0.1 2.59 39.83 42.42 OK
r-release-macos-arm64 1.0.1 65.00 OK
r-release-windows-x86_64 1.0.1 3.00 98.00 101.00 OK
r-oldrel-macos-arm64 1.0.1 57.00 OK
r-oldrel-macos-x86_64 1.0.1 75.00 OK
r-oldrel-windows-x86_64 1.0.1 3.00 114.00 117.00 OK

Check Details

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [12s/25s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(naptanr) > > test_check("naptanr") Returning data for area codes: 450 West Yorkshire Returning data for area codes: 220 East Riding of Yorkshire, 320 North Yorkshire, 370 South Yorkshire, 450 West Yorkshire [ FAIL 1 | WARN 0 | SKIP 0 | PASS 25 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('testcall_naptan.R:26:3'): output as expected using multiple Atco codes ── Error in `call_naptan(atco = 300)`: An atco area code provided does not exist. Please check your query. To display all valid atco codes, run lookup_atco_codes() Backtrace: ▆ 1. ├─testthat::expect_equal(...) at testcall_naptan.R:26:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::nrow(call_naptan(atco = 300)) 5. └─naptanr::call_naptan(atco = 300) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 25 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang