Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(imfr)
  > 
  > test_check("imfr")
  
  Downloading: 3.9 kB     
  Downloading: 3.9 kB     
  Downloading: 6.8 kB     
  Downloading: 6.8 kB     
  Downloading: 9.7 kB     
  Downloading: 9.7 kB     
  Downloading: 13 kB     
  Downloading: 13 kB     
  Downloading: 16 kB     
  Downloading: 16 kB     
  Downloading: 20 kB     
  Downloading: 20 kB     
  Downloading: 23 kB     
  Downloading: 23 kB     
  Downloading: 23 kB     
  Downloading: 23 kB     
  Downloading: 26 kB     
  Downloading: 26 kB     
  Downloading: 28 kB     
  Downloading: 28 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 36 kB     
  Downloading: 36 kB     
  Downloading: 39 kB     
  Downloading: 39 kB     
  Downloading: 41 kB     
  Downloading: 41 kB     
  Downloading: 44 kB     
  Downloading: 44 kB     
  Downloading: 47 kB     
  Downloading: 47 kB     
  Downloading: 50 kB     
  Downloading: 50 kB     
  Downloading: 50 kB     
  Downloading: 50 kB     
  Downloading: 53 kB     
  Downloading: 53 kB     
  Downloading: 56 kB     
  Downloading: 56 kB     
  Downloading: 59 kB     
  Downloading: 59 kB     
  Downloading: 62 kB     
  Downloading: 62 kB     
  Downloading: 65 kB     
  Downloading: 65 kB     
  Downloading: 69 kB     
  Downloading: 69 kB     
  Downloading: 69 kB     
  Downloading: 69 kB     
  Downloading: 72 kB     
  Downloading: 72 kB     
  Downloading: 75 kB     
  Downloading: 75 kB     
  Downloading: 78 kB     
  Downloading: 78 kB     
  Downloading: 81 kB     
  Downloading: 81 kB     
  Downloading: 81 kB     
  Downloading: 81 kB     
  Downloading: 85 kB     
  Downloading: 85 kB     
  Downloading: 88 kB     
  Downloading: 88 kB     
  Downloading: 91 kB     
  Downloading: 91 kB     
  Downloading: 94 kB     
  Downloading: 94 kB     
  Downloading: 96 kB     
  Downloading: 96 kB     
  Downloading: 99 kB     
  Downloading: 99 kB     
  Downloading: 99 kB     
  Downloading: 99 kB     
  Downloading: 99 kB     
  Downloading: 99 kB     
  Downloading: 100 kB     
  Downloading: 100 kB     
  Downloading: 100 kB     
  Downloading: 100 kB     
  Downloading: 100 kB     
  Downloading: 100 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 120 kB     
  Downloading: 120 kB     
  Downloading: 120 kB     
  Downloading: 120 kB     
  Downloading: 120 kB     
  Downloading: 120 kB     
  Downloading: 120 kB     
  Downloading: 120 kB     
  Downloading: 120 kB     
  Downloading: 120 kB     
  Downloading: 120 kB     
  Downloading: 120 kB     
  Downloading: 120 kB     
  Downloading: 120 kB     
  Downloading: 120 kB     
  Downloading: 120 kB     
  Downloading: 120 kB     
  Downloading: 120 kB     
  Downloading: 120 kB     
  Downloading: 120 kB     
  Downloading: 120 kB     
  Downloading: 120 kB     
  Downloading: 140 kB     
  Downloading: 140 kB     
  Downloading: 150 kB     
  Downloading: 150 kB     
  Downloading: 150 kB     
  Downloading: 150 kB     
  Downloading: 150 kB     
  Downloading: 150 kB     
  Downloading: 150 kB     
  Downloading: 150 kB     
  Downloading: 150 kB     
  Downloading: 150 kB     
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |======================================================================| 100%
  == Failed tests ================================================================
  -- Failure (test-next.R:1:1): (code run outside of `test_that()`) --------------
  `imf_data(...)` threw an error.
  Message: Unable to download series.
  Class:   simpleError/error/condition
  Backtrace:
      x
   1. +-testthat::expect_error(...) test-next.R:1:0
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat:::.capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. \-imfr::imf_data(...)
   7.   \-imfr:::imf_data_one(...)
   8.     \-imfr:::download_parse(URL)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ]
  Error: Test failures
  Execution halted