Running 'testthat.R' [146s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(bioRad)
  Welcome to bioRad version 0.6.2
  Warning: Docker daemon not found
  Warning: bioRad functionality requiring Docker has been disabled
  
  To enable Docker functionality, first install Docker
  > 
  > test_check("bioRad")
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |======================================================================| 100%
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |======================================================================| 100%
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |======================================================================| 100%projecting on 300 seconds interval grid...
  projecting on 300 seconds interval grid...
  projecting on 300 seconds interval grid...
  projecting on 300 seconds interval grid...
  projecting on 300 seconds interval grid...
  projecting on 300 seconds interval grid...
  projecting on 300 seconds interval grid...
                 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 1 | WARN 67 | SKIP 33 | PASS 592 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • No docker (7)
  • empty test (26)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-download_vpfiles.R:11'): download_vpfiles() returns error on incorrect parameters ──
  `download_vpfiles(12345, date_max, radars, directory, overwrite)` threw an error with unexpected message.
  Expected match: "date_min is not a string (a length one character vector)."
  Actual message: "cannot open the connection to 'https://lw-enram.s3-eu-west-1.amazonaws.com/radars.csv'"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-download_vpfiles.R:11:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─bioRad::download_vpfiles(...)
    7.   └─bioRad:::check_radar_codes(radars)
    8.     └─utils::read.csv(url("https://lw-enram.s3-eu-west-1.amazonaws.com/radars.csv"))
    9.       └─utils::read.table(...)
   10.         ├─base::open(file, "rt")
   11.         └─base::open.connection(file, "rt")
  
  [ FAIL 1 | WARN 67 | SKIP 33 | PASS 592 ]
  Error: Test failures
  In addition: Warning message:
  In for (i in seq_len(n)) { :
    closing unused connection 4 (https://lw-enram.s3-eu-west-1.amazonaws.com/radars.csv)
  Execution halted