Running 'testthat.R' [198s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(bioRad)
  Welcome to bioRad version 0.7.1
  > 
  > test_check("bioRad")
  The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
  which was just loaded, will retire in October 2023.
  Please refer to R-spatial evolution reports for details, especially
  https://r-spatial.org/r/2023/05/15/evolution4.html.
  It may be desirable to make the sf package available;
  package maintainers should consider adding sf to Suggests:.
  The sp package is now running under evolution status 2
       (status 2 uses the sf package in place of rgdal)
  Downloading https://aloft.s3-eu-west-1.amazonaws.com/baltrad/hdf5/czbrd/2023/06/01/czbrd_vp_20230601T000000Z_0xb.h5
  Downloading https://aloft.s3-eu-west-1.amazonaws.com/baltrad/hdf5/czbrd/2023/06/01/czbrd_vp_20230601T000500Z_0xb.h5
  Downloading https://aloft.s3-eu-west-1.amazonaws.com/baltrad/hdf5/czbrd/2023/06/01/czbrd_vp_20230601T001000Z_0xb.h5
  Downloading https://aloft.s3-eu-west-1.amazonaws.com/baltrad/monthly/bejab/2023/bejab_vpts_202303.csv.gz
  Downloading https://aloft.s3-eu-west-1.amazonaws.com/baltrad/monthly/bejab/2023/bejab_vpts_202304.csv.gz
  Downloading https://aloft.s3-eu-west-1.amazonaws.com/baltrad/monthly/bewid/2023/bewid_vpts_202303.csv.gz
  No extension detected; assuming file type .txt which maps to stdout format
  Downloading https://aloft.s3-eu-west-1.amazonaws.com/baltrad/hdf5/eehar/2023/06/01/eehar_vp_20230601T001000Z_0xb.h5
                 Vertical profile (class vp)
  
         radar:  seang 
        source:  WMO:02606,RAD:SE50,PLC:Angelholm,NOD:seang,ORG:82,CTY:643,CMT:Swedish radar 
  nominal time:  2015-10-18 18:00:00 
  generated by:  vol2bird 0.3.17 
  projecting on 300 seconds interval grid...
  
                     Irregular time series of vertical profiles (class vpts)
  
             radar:  KBGM 
        # profiles:  1934 
  time range (UTC):  2016-09-01 00:02:00 - 2016-09-10 11:56:00 
     time step (s):  min: 180     max:  16320 
                     Irregular time series of vertical profiles (class vpts)
  
             radar:  KBGM 
        # profiles:  1934 
  time range (UTC):  2016-09-01 00:02:00 - 2016-09-10 11:56:00 
     time step (s):  min: 180     max:  16320 
  [ FAIL 7 | WARN 21 | SKIP 31 | PASS 979 ]
  
  ══ Skipped tests (31) ══════════════════════════════════════════════════════════
  • No MistNet (1): 'test-calculate_vp.R:282:3'
  • On CRAN (21): 'test-apply_mistnet.R:1:1', 'test-download_pvolfiles.R:9:3',
    'test-download_pvolfiles.R:110:3', 'test-download_pvolfiles.R:134:3',
    'test-download_vpfiles.R:8:3', 'test-list_vpts_aloft.R:28:3',
    'test-list_vpts_aloft.R:41:3', 'test-list_vpts_aloft.R:53:3',
    'test-list_vpts_aloft.R:64:3', 'test-list_vpts_aloft.R:88:3',
    'test-list_vpts_aloft.R:106:3', 'test-list_vpts_aloft.R:119:3',
    'test-list_vpts_aloft.R:133:3', 'test-list_vpts_aloft.R:156:3',
    'test-list_vpts_aloft.R:177:3', 'test-map.R:2:3', 'test-pvol.R:10:3',
    'test-read_vpts.R:128:3', 'test-read_vpts.R:146:3', 'test-read_vpts.R:162:3',
    'test-read_vpts.R:182:3'
  • empty test (9): 'test-dbz_eta.R:1:1', 'test-dbz_eta.R:13:1',
    'test-iris.R:1:1', 'test-nexrad_odim.R:1:1', 'test-nyquist_velocity.R:1:1',
    'test-read_vpfiles.R:1:1', 'test-select_vpfiles.R:1:1',
    'test-sunrise_sunset.R:1:1', 'test-sunrise_sunset.R:5:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-calculate_vp.R:38:3'): calculate_vp() returns error on incorrect parameters ──
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `calculate_vp(paste(tmpdir, "nofile.txt", sep = "/"), warnings = FALSE)`: The package "vol2birdR" is required to run `calculate_vp`.
  Backtrace:
      ▆
   1. ├─testthat::expect_error(...) at test-calculate_vp.R:38:2
   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. └─bioRad::calculate_vp(...)
   8.   └─rlang::check_installed("vol2birdR", format_reason_vol2bird("to run `calculate_vp`."))
  ── Error ('test-calculate_vp.R:207:3'): calculate_vp() produces a vp object and optional vpfile, pvolfile ──
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `calculate_vp(file = pvolfile, vpfile = vpfile, pvolfile_out = pvolfile_out, 
      warnings = FALSE)`: The package "vol2birdR" is required to run `calculate_vp`.
  Backtrace:
      ▆
   1. └─bioRad::calculate_vp(...) at test-calculate_vp.R:207:2
   2.   └─rlang::check_installed("vol2birdR", format_reason_vol2bird("to run `calculate_vp`."))
  ── Error ('test-calculate_vp.R:221:3'): calculate_vp() produces same vp from disk and from memory ──
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `calculate_vp(file = pvolfile, warnings = FALSE)`: The package "vol2birdR" is required to run `calculate_vp`.
  Backtrace:
      ▆
   1. └─bioRad::calculate_vp(file = pvolfile, warnings = FALSE) at test-calculate_vp.R:221:2
   2.   └─rlang::check_installed("vol2birdR", format_reason_vol2bird("to run `calculate_vp`."))
  ── Error ('test-calculate_vp.R:232:3'): calculate_vp() parses input arguments for vol2bird ──
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `calculate_vp(file = pvolfile, , warnings = FALSE, sd_vvp_threshold = sd_vvp_threshold, 
      rcs = rcs, dual_pol = dual_pol, rho_hv = rho_hv, elev_min = elev_min, 
      elev_max = elev_max, azim_min = azim_min, azim_max = azim_max, 
      range_min = range_min, range_max = range_max, n_layer = n_layer, 
      h_layer = h_layer, nyquist_min = nyquist_min)`: The package "vol2birdR" is required to run `calculate_vp`.
  Backtrace:
      ▆
   1. └─bioRad::calculate_vp(...) at test-calculate_vp.R:232:2
   2.   └─rlang::check_installed("vol2birdR", format_reason_vol2bird("to run `calculate_vp`."))
  ── Error ('test-calculate_vp.R:257:3'): calculate_vp() ignores input arguments if autoconf ──
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `calculate_vp(file = pvolfile, , warnings = FALSE, sd_vvp_threshold = sd_vvp_threshold, 
      rcs = rcs, dual_pol = dual_pol, rho_hv = rho_hv, elev_min = elev_min, 
      elev_max = elev_max, azim_min = azim_min, azim_max = azim_max, 
      range_min = range_min, range_max = range_max, n_layer = n_layer, 
      h_layer = h_layer, nyquist_min = nyquist_min, autoconf = TRUE)`: The package "vol2birdR" is required to run `calculate_vp`.
  Backtrace:
      ▆
   1. └─bioRad::calculate_vp(...) at test-calculate_vp.R:257:2
   2.   └─rlang::check_installed("vol2birdR", format_reason_vol2bird("to run `calculate_vp`."))
  ── Error ('test-calculate_vp.R:293:3'): Dealiasing can be toggled ──────────────
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `calculate_vp(file = pvolfile, warnings = FALSE, nyquist_min = nyquist_min, 
      dealias = FALSE)`: The package "vol2birdR" is required to run `calculate_vp`.
  Backtrace:
      ▆
   1. └─bioRad::calculate_vp(...) at test-calculate_vp.R:293:2
   2.   └─rlang::check_installed("vol2birdR", format_reason_vol2bird("to run `calculate_vp`."))
  ── Error ('test-calculate_vp.R:308:3'): Extension of vpfile is obeyed in output ──
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `calculate_vp(pvolfile, vpfile = vpfile)`: The package "vol2birdR" is required to run `calculate_vp`.
  Backtrace:
      ▆
   1. └─bioRad::calculate_vp(pvolfile, vpfile = vpfile) at test-calculate_vp.R:308:2
   2.   └─rlang::check_installed("vol2birdR", format_reason_vol2bird("to run `calculate_vp`."))
  
  [ FAIL 7 | WARN 21 | SKIP 31 | PASS 979 ]
  Error: Test failures
  Execution halted