* using log directory 'd:/Rcompile/CRANpkg/local/4.5/riem.Rcheck' * using R Under development (unstable) (2024-04-24 r86484 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'riem' can be installed ... OK * checking installed package size ... OK * checking package 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [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 ... [2s] OK * checking Rd files ... [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 examples ... [1s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [36s] ERROR Running 'testthat.R' [36s] 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 in `httr2::req_perform(.)`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached: [mesonet.agron.iastate.edu] Failed to connect to mesonet.agron.iastate.edu port 443 after 10000 ms: Timeout was reached 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. └─base::tryCatch(...) 14. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 16. └─value[[3L]](cond) [ FAIL 1 | WARN 0 | SKIP 3 | PASS 33 ] Error: Test failures Execution halted * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... [1s] OK * DONE Status: 1 ERROR