- using R Under development (unstable) (2026-09-06 r90498)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 23.1.0 (2)
Debian flang version 23.1.0 (2)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-09-08 05:41:29 UTC
- checking for file ‘naptanr/DESCRIPTION’ ... OK
- this is package ‘naptanr’ version ‘1.0.1’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/2s] OK
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘naptanr’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/1s] OK
- checking loading without being on the library search path ... [0s/1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [4s/6s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking R/sysdata.rda ... OK
- checking examples ... [2s/5s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [15s/21s] ERROR
Running ‘testthat.R’ [14s/20s]
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
Saving _problems/testcall_naptan_region-17.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 26 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('testcall_naptan_region.R:16:3'): Lookup can return results for broad region keyword ──
Error in `call_naptan(atco = codes)`: 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_message(call_naptan_region("yorkshire"), "Returning data for area codes: 220 East Riding of Yorkshire, 320 North Yorkshire, 370 South Yorkshire, 450 West Yorkshire") at testcall_naptan_region.R:16: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. └─naptanr::call_naptan_region("yorkshire")
8. └─naptanr::call_naptan(atco = codes)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 26 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [4s/7s] OK
- checking HTML version of manual ... [0s/0s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR