CRAN Package Check Results for Maintainer ‘Francesca Bryden <francesca.bryden at dft.gov.uk>’

Last updated on 2024-06-07 12:58:12 CEST.

Package ERROR OK
bodsr 13
naptanr 1 12

Package bodsr

Current CRAN status: OK: 13

Package naptanr

Current CRAN status: ERROR: 1, OK: 12

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