• using R version 4.6.0 (2026-04-24)
  • using platform: x86_64-apple-darwin20
  • R was compiled by     Apple clang version 14.0.0 (clang-1400.0.29.202)     GNU Fortran (GCC) 14.2.0
  • running under: macOS Ventura 13.3.1
  • using session charset: UTF-8 * current time: 2026-04-30 02:31:26 UTC
  • checking for file ‘rnrfa/DESCRIPTION’ ... OK
  • this is package ‘rnrfa’ version ‘2.1.0.7’
  • package encoding: UTF-8
  • 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 whether package ‘rnrfa’ can be installed ... [7s/18s] OK See the install log for details.
  • checking installed package size ... OK
  • checking package directory ... OK
  • checking ‘build’ directory ... 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 ... [2s/5s] OK
  • checking whether the package can be loaded with stated dependencies ... [2s/4s] OK
  • checking whether the package can be unloaded cleanly ... [2s/4s] OK
  • checking whether the namespace can be loaded with stated dependencies ... [2s/4s] OK
  • checking whether the namespace can be unloaded cleanly ... [2s/5s] OK
  • checking loading without being on the library search path ... [2s/5s] 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 ... [5s/11s] OK
  • checking Rd files ... [0s/0s] OK
  • checking Rd metadata ... 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 installed files from ‘inst/doc’ ... OK
  • checking files in ‘vignettes’ ... OK
  • checking examples ... [2s/5s] OK
  • checking for unstated dependencies in ‘tests’ ... OK
  • checking tests ... [17s/136s] ERROR   Running ‘testthat.R’ [16s/135s] Running the tests in ‘tests/testthat.R’ failed. Complete output:   > library("testthat")   > library("rnrfa")   > # library("lintr")   >   > api_unavailable <- function(){   + resp1 <- httr::GET(url = "https://nrfaapps.ceh.ac.uk/nrfa/ws/time-series",   + query = list(format = "json-object", station = 39001,`data-type` = "gdf"),   + httr::user_agent("https://github.com/ilapros/rnrfa"))   + resp2 <- httr::GET(url = "https://nrfaapps.ceh.ac.uk/nrfa/ws/time-series",   + query = list(format = "json-object", station = 39001,`data-type` = "cmr"),   + httr::user_agent("https://github.com/ilapros/rnrfa"))   + # if any of the two streams is not working skip tests   + (httr::http_error(resp1) | httr::http_error(resp2))   + }   >   > # skip_if_no_api() <- function() {   > # if (api_unavailable()) {   > # skip("API not available")   > # }   > # }   >   > if (!curl::has_internet()) {   + message("No internet, cannot run tests")   + }else {   + test_check("rnrfa")   + }   Saving _problems/test-catalogue-17.R   [ FAIL 1 | WARN 0 | SKIP 0 | PASS 66 ]      ══ Failed tests ════════════════════════════════════════════════════════════════   ── Error ('test-catalogue.R:17:3'): Output of catalogue function is expected to be at least 1539x20 ──   <curl_error_operation_timedout/curl_error/error/condition>   Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [nrfaapps.ceh.ac.uk]:   Connection timed out after 10001 milliseconds   Backtrace:       ▆    1. ├─testthat::skip_if(api_unavailable(), "API not available") at test-catalogue.R:17:3    2. │ └─base::isTRUE(condition)    3. ├─rnrfa (local) api_unavailable()    4. │ └─httr::GET(...) at test-catalogue.R:4:3    5. │ └─httr:::request_perform(req, hu$handle$handle)    6. │ ├─httr:::request_fetch(req$output, req$url, handle)    7. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle)    8. │ └─curl::curl_fetch_memory(url, handle = handle)    9. └─curl:::raise_libcurl_error(...)      [ FAIL 1 | WARN 0 | SKIP 0 | PASS 66 ]   Error:   ! Test failures.   Execution halted
  • checking for unstated dependencies in vignettes ... OK
  • checking package vignettes ... OK
  • checking re-building of vignette outputs ... [27s/76s] OK
  • checking PDF version of manual ... [6s/9s] OK
  • DONE Status: 1 ERROR
  • using check arguments '--no-clean-on-error '