Running ‘testthat.R’ [3m/12m]
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 ──
  <httr2_http_403/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
  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", `<dttm>`)
   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