- using R version 4.4.1 Patched (2024-07-08 r86915)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-13 (Debian 13.3.0-3) 13.3.0
GNU Fortran (Debian 13.3.0-3) 13.3.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘riem/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘riem’ version ‘0.3.1’
- 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 serialization versions ... OK
- checking whether package ‘riem’ 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 ... [1s/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/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/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 ... [5s/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 examples ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [4s/5s] ERROR
Running ‘testthat.R’ [4s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(riem)
>
> test_check("riem")
[ FAIL 1 | WARN 0 | SKIP 3 | PASS 33 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (3): 'test-measures.R:50:3', 'test-networks.R:15:3',
'test-stations.R:15:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-measures.R:39:5'): riem_measures outputs warning if no results ──
Error:
================================================================================
An HTTP request has been made that vcr does not know how to handle:
GET https://mesonet.agron.iastate.edu/cgi-bin/request/asos.py/?station=VOHY&data=all&year1=3050&month1=12&day1=1&year2=3055&month2=12&day2=1&format=tdf&latlon=yes&tz=UTC
vcr is currently using the following cassette:
- ../fixtures/measures-warnings.yml
- record_mode: once
- match_requests_on: method, uri
Set `VCR_VERBOSE_ERRORS=TRUE` for more verbose errors
If you're not sure what to do, open an issue https://github.com/ropensci/vcr/issues
& see https://books.ropensci.org/http-testing
================================================================================
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-measures.R:38:3
2. │ └─cassette$call_block(...)
3. ├─testthat::expect_warning(...) at test-measures.R:39:5
4. │ └─testthat:::expect_condition_matching(...)
5. │ └─testthat:::quasi_capture(...)
6. │ ├─testthat (local) .capture(...)
7. │ │ └─base::withCallingHandlers(...)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. ├─riem::riem_measures(date_start = "3050-12-01", date_end = "3055-12-01")
10. │ └─riem:::perform_riem_request(...)
11. │ └─... %>% httr2::req_perform()
12. └─httr2::req_perform(.)
13. └─webmockr (local) mock(req)
14. └─Httr2Adapter$new()$handle_request(.x)
15. └─private$request_handler(req)$handle()
16. └─eval(parse(text = req_type_fun))(self$request)
17. └─err$run()
18. └─self$construct_message()
[ FAIL 1 | WARN 0 | SKIP 3 | PASS 33 ]
Error: Test failures
Execution halted
Ran 2/2 deferred expressions
- checking PDF version of manual ... [5s/7s] OK
- checking HTML version of manual ... [0s/0s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR