* using log directory 'd:/Rcompile/CRANpkg/local/4.5/getRad.Rcheck' * using R version 4.5.1 (2025-06-13 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'getRad/DESCRIPTION' ... OK * this is package 'getRad' version '0.2.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 'getRad' can be installed ... OK * 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking whether startup messages can be suppressed ... [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] OK * checking Rd files ... [1s] 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] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [163s] ERROR Running 'testthat.R' [163s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(getRad) > > test_check("getRad") [ FAIL 1 | WARN 0 | SKIP 65 | PASS 64 ] ══ Skipped tests (65) ══════════════════════════════════════════════════════════ • Because no key for Denmark is available in the testing environment (1): 'test-get_pvol_dk.R:2:3' • On CRAN (64): 'test-get_pvol.R:51:3', 'test-get_pvol.R:69:3', 'test-get_pvol.R:96:3', 'test-get_pvol.R:128:3', 'test-get_pvol.R:141:3', 'test-get_pvol_cz.R:2:3', 'test-get_pvol_cz.R:16:3', 'test-get_pvol_de.R:2:3', 'test-get_pvol_ee.R:2:3', 'test-get_pvol_fi.R:2:3', 'test-get_pvol_nl.R:2:3', 'test-get_pvol_nl.R:25:3', 'test-get_pvol_nl.R:53:3', 'test-get_pvol_ro.R:2:3', 'test-get_pvol_ro.R:15:3', 'test-get_pvol_se.R:14:3', 'test-get_pvol_se.R:26:3', 'test-get_pvol_se.R:36:3', 'test-get_pvol_us.R:5:3', 'test-get_pvol_us.R:15:3', 'test-get_pvol_us.R:42:3', 'test-get_vpts.R:2:3', 'test-get_vpts.R:78:3', 'test-get_vpts.R:104:3', 'test-get_vpts.R:126:3', 'test-get_vpts.R:145:3', 'test-get_vpts.R:193:3', 'test-get_vpts.R:253:3', 'test-get_vpts.R:270:3', 'test-get_vpts.R:330:3', 'test-get_vpts.R:351:3', 'test-get_vpts.R:385:3', 'test-get_vpts.R:421:3', 'test-get_vpts.R:458:3', 'test-get_vpts.R:569:3', 'test-get_vpts.R:608:3', 'test-get_vpts.R:628:3', 'test-get_vpts_aloft.R:72:3', 'test-get_vpts_coverage.R:8:3', 'test-get_vpts_coverage.R:17:3', 'test-get_vpts_coverage.R:27:3', 'test-get_vpts_coverage_aloft.R:2:3', 'test-get_vpts_coverage_aloft.R:11:3', 'test-get_vpts_coverage_rmi.R:2:3', 'test-get_vpts_coverage_rmi.R:8:3', 'test-get_vpts_coverage_rmi.R:23:3', 'test-get_vpts_coverage_rmi.R:49:3', 'test-get_vpts_coverage_rmi.R:58:3', 'test-get_vpts_rmi.R:2:3', 'test-get_vpts_rmi.R:23:3', 'test-get_vpts_rmi.R:67:3', 'test-get_vpts_rmi.R:89:3', 'test-get_vpts_rmi.R:104:3', 'test-get_weather_radars.R:18:3', 'test-get_weather_radars.R:23:3', 'test-get_weather_radars.R:32:3', 'test-get_weather_radars.R:85:3', 'test-get_weather_radars.R:130:3', 'test-get_weather_radars.R:175:3', 'test-get_weather_radars.R:193:3', 'test-get_weather_radars.R:236:3', 'test-get_weather_radars.R:252:3', 'test-get_weather_radars.R:261:3', 'test-utils-rmi.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_pvol_us.R:37:3'): Correct error is given when no near data is found ── Error in `get_pvol("KABX", as.POSIXct("1970-1-1"))`: HTTP 403 Forbidden. Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-get_pvol_us.R:37: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. └─getRad::get_pvol("KABX", as.POSIXct("1970-1-1")) 8. ├─rlang::exec(fn, radar = radar, datetime, ...) 9. └─getRad:::get_pvol_us(radar = "KABX", ``) 10. └─getRad:::.most_representative_nexrad_key(datetime, radar, call = call) 11. ├─base::unlist(...) 12. └─base::lapply(days, .list_nexrad_keys, radar = radar, call = call) 13. └─getRad (local) FUN(X[[i]], ...) 14. ├─httr2::resp_body_xml(...) 15. │ └─httr2:::check_response(resp) 16. │ └─httr2:::is_response(resp) 17. └─httr2::req_perform(...) 18. └─httr2:::handle_resp(req, resp, error_call = error_call) 19. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call) 20. ├─rlang::catch_cnd(...) 21. │ ├─rlang::eval_bare(...) 22. │ ├─base::tryCatch(...) 23. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 24. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 25. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 26. │ └─base::force(expr) 27. └─rlang::abort(...) [ FAIL 1 | WARN 0 | SKIP 65 | PASS 64 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [4s] OK * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 1 ERROR