Running ‘testthat.R’ [95s/157s]
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")
  Saving _problems/test-get_pvol_dk-7.R
  [ FAIL 1 | WARN 0 | SKIP 68 | PASS 65 ]
  
  ══ Skipped tests (68) ══════════════════════════════════════════════════════════
  • On CRAN (67): 'test-get_pvol.R:52:3', 'test-get_pvol.R:70:3',
    'test-get_pvol.R:97:3', 'test-get_pvol.R:132:3', 'test-get_pvol.R:154:3',
    'test-get_pvol_cz.R:2:3', 'test-get_pvol_cz.R:24:3',
    'test-get_pvol_de.R:2:3', 'test-get_pvol_de.R:17:3',
    'test-get_pvol_ee.R:2:3', 'test-get_pvol_fi.R:2:3',
    'test-get_pvol_nl.R:30:3', 'test-get_pvol_nl.R:87:3',
    'test-get_pvol_ro.R:2:3', 'test-get_pvol_ro.R:18:3',
    'test-get_pvol_se.R:24:3', 'test-get_pvol_se.R:36:3',
    'test-get_pvol_se.R:52:3', 'test-get_pvol_sk.R:2:3',
    'test-get_pvol_sk.R:19:3', 'test-get_pvol_us.R:5:3',
    'test-get_pvol_us.R:15:3', 'test-get_pvol_us.R:37:3',
    'test-get_pvol_us.R:46: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:69:3', 'test-get_vpts_coverage.R:14:3',
    'test-get_vpts_coverage.R:23:3', 'test-get_vpts_coverage.R:33: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:21:3', 'test-get_weather_radars.R:26:3',
    'test-get_weather_radars.R:35:3', 'test-get_weather_radars.R:88:3',
    'test-get_weather_radars.R:133:3', 'test-get_weather_radars.R:178:3',
    'test-get_weather_radars.R:196:3', 'test-get_weather_radars.R:238:3',
    'test-get_weather_radars.R:269:3', 'test-utils-rmi.R:1:1',
    'test-utils.R:21:3'
  • Sys.which("KNMI_vol_h5_to_ODIM_h5") == "" is TRUE (1):
    'test-get_pvol_nl.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-get_pvol_dk.R:7:3'): Pvol for Danish can be downloaded ─────────
  <httr2_http_404/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
  Error in `get_pvol("dkbor", time, param = "all")`: HTTP 404 Not Found.
  Backtrace:
       ▆
    1. ├─testthat::expect_s3_class(...) at test-get_pvol_dk.R:7:3
    2. │ └─testthat::quasi_label(enquo(object))
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─getRad::get_pvol("dkbor", time, param = "all")
    5.   ├─rlang::exec(...)
    6.   └─getRad:::get_pvol_dk(radar = "dkbor", `<dttm>`, param = "all")
    7.     ├─withr::with_file(...)
    8.     │ └─base::force(code)
    9.     └─httr2::req_perform(...)
   10.       └─httr2:::handle_resp(req, resp, error_call = error_call)
   11.         └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
   12.           ├─rlang::catch_cnd(...)
   13.           │ ├─rlang::eval_bare(...)
   14.           │ ├─base::tryCatch(...)
   15.           │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   16.           │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   17.           │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   18.           │ └─base::force(expr)
   19.           └─rlang::abort(...)
  
  [ FAIL 1 | WARN 0 | SKIP 68 | PASS 65 ]
  Error:
  ! Test failures.
  Execution halted