Running ‘testthat.R’ [3s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(imfr)
  > 
  > test_check("imfr")
  
  Downloading: 3.5 kB     
  Downloading: 3.5 kB     
  Downloading: 7.6 kB     
  Downloading: 7.6 kB     
  Downloading: 12 kB     
  Downloading: 12 kB     
  Downloading: 16 kB     
  Downloading: 16 kB     
  Downloading: 16 kB     
  Downloading: 16 kB     
  Downloading: 20 kB     
  Downloading: 20 kB     
  Downloading: 24 kB     
  Downloading: 24 kB     
  Downloading: 28 kB     
  Downloading: 28 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 35 kB     
  Downloading: 35 kB     
  Downloading: 35 kB     
  Downloading: 35 kB     
  Downloading: 35 kB     
  Downloading: 35 kB     
  Downloading: 39 kB     
  Downloading: 39 kB     
  Downloading: 43 kB     
  Downloading: 43 kB     
  Downloading: 47 kB     
  Downloading: 47 kB     
  Downloading: 49 kB     
  Downloading: 49 kB     
  Downloading: 51 kB     
  Downloading: 51 kB     
  Downloading: 54 kB     
  Downloading: 54 kB     
  Downloading: 58 kB     
  Downloading: 58 kB     
  Downloading: 63 kB     
  Downloading: 63 kB     
  Downloading: 66 kB     
  Downloading: 66 kB     
  Downloading: 71 kB     
  Downloading: 71 kB     
  Downloading: 71 kB     
  Downloading: 71 kB     
  Downloading: 75 kB     
  Downloading: 75 kB     
  Downloading: 79 kB     
  Downloading: 79 kB     
  Downloading: 81 kB     
  Downloading: 81 kB     
  Downloading: 85 kB     
  Downloading: 85 kB     
  Downloading: 89 kB     
  Downloading: 89 kB     
  Downloading: 93 kB     
  Downloading: 93 kB     
  Downloading: 96 kB     
  Downloading: 96 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: 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: 3.5 kB     
  Downloading: 3.5 kB     
  Downloading: 7.6 kB     
  Downloading: 7.6 kB     
  Downloading: 12 kB     
  Downloading: 12 kB     
  Downloading: 16 kB     
  Downloading: 16 kB     
  Downloading: 16 kB     
  Downloading: 16 kB     
  Downloading: 20 kB     
  Downloading: 20 kB     
  Downloading: 24 kB     
  Downloading: 24 kB     
  Downloading: 28 kB     
  Downloading: 28 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 34 kB     
  Downloading: 34 kB     
  Downloading: 39 kB     
  Downloading: 39 kB     
  Downloading: 42 kB     
  Downloading: 42 kB     
  Downloading: 46 kB     
  Downloading: 46 kB     
  Downloading: 50 kB     
  Downloading: 50 kB     
  Downloading: 53 kB     
  Downloading: 53 kB     
  Downloading: 58 kB     
  Downloading: 58 kB     
  Downloading: 60 kB     
  Downloading: 60 kB     
  Downloading: 64 kB     
  Downloading: 64 kB     
  Downloading: 67 kB     
  Downloading: 67 kB     
  Downloading: 71 kB     
  Downloading: 71 kB     
  Downloading: 76 kB     
  Downloading: 76 kB     
  Downloading: 79 kB     
  Downloading: 79 kB     
  Downloading: 81 kB     
  Downloading: 81 kB     
  Downloading: 81 kB     
  Downloading: 81 kB     
  Downloading: 85 kB     
  Downloading: 85 kB     
  Downloading: 89 kB     
  Downloading: 89 kB     
  Downloading: 93 kB     
  Downloading: 93 kB     
  Downloading: 97 kB     
  Downloading: 97 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: 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: 3.5 kB     
  Downloading: 3.5 kB     
  Downloading: 7.6 kB     
  Downloading: 7.6 kB     
  Downloading: 12 kB     
  Downloading: 12 kB     
  Downloading: 14 kB     
  Downloading: 14 kB     
  Downloading: 16 kB     
  Downloading: 16 kB     
  Downloading: 19 kB     
  Downloading: 19 kB     
  Downloading: 23 kB     
  Downloading: 23 kB     
  Downloading: 26 kB     
  Downloading: 26 kB     
  Downloading: 30 kB     
  Downloading: 30 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 35 kB     
  Downloading: 35 kB     
  Downloading: 39 kB     
  Downloading: 39 kB     
  Downloading: 42 kB     
  Downloading: 42 kB     
  Downloading: 46 kB     
  Downloading: 46 kB     
  Downloading: 46 kB     
  Downloading: 46 kB     
  Downloading: 49 kB     
  Downloading: 49 kB     
  Downloading: 52 kB     
  Downloading: 52 kB     
  Downloading: 56 kB     
  Downloading: 56 kB     
  Downloading: 60 kB     
  Downloading: 60 kB     
  Downloading: 63 kB     
  Downloading: 63 kB     
  Downloading: 65 kB     
  Downloading: 65 kB     
  Downloading: 69 kB     
  Downloading: 69 kB     
  Downloading: 72 kB     
  Downloading: 72 kB     
  Downloading: 72 kB     
  Downloading: 72 kB     
  Downloading: 76 kB     
  Downloading: 76 kB     
  Downloading: 80 kB     
  Downloading: 80 kB     
  Downloading: 81 kB     
  Downloading: 81 kB     
  Downloading: 84 kB     
  Downloading: 84 kB     
  Downloading: 88 kB     
  Downloading: 88 kB     
  Downloading: 92 kB     
  Downloading: 92 kB     
  Downloading: 96 kB     
  Downloading: 96 kB     
  Downloading: 98 kB     
  Downloading: 98 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: 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: 140 kB     
  Downloading: 140 kB     
  Downloading: 150 kB     
  Downloading: 150 kB     
  Downloading: 150 kB     
  Downloading: 150 kB     
  Downloading: 150 kB     
  Downloading: 3.5 kB     
  Downloading: 3.5 kB     
  Downloading: 7.6 kB     
  Downloading: 7.6 kB     
  Downloading: 12 kB     
  Downloading: 12 kB     
  Downloading: 16 kB     
  Downloading: 16 kB     
  Downloading: 16 kB     
  Downloading: 16 kB     
  Downloading: 20 kB     
  Downloading: 20 kB     
  Downloading: 24 kB     
  Downloading: 24 kB     
  Downloading: 28 kB     
  Downloading: 28 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 35 kB     
  Downloading: 35 kB     
  Downloading: 39 kB     
  Downloading: 39 kB     
  Downloading: 43 kB     
  Downloading: 43 kB     
  Downloading: 46 kB     
  Downloading: 46 kB     
  Downloading: 49 kB     
  Downloading: 49 kB     
  Downloading: 52 kB     
  Downloading: 52 kB     
  Downloading: 52 kB     
  Downloading: 52 kB     
  Downloading: 56 kB     
  Downloading: 56 kB     
  Downloading: 60 kB     
  Downloading: 60 kB     
  Downloading: 65 kB     
  Downloading: 65 kB     
  Downloading: 65 kB     
  Downloading: 65 kB     
  Downloading: 68 kB     
  Downloading: 68 kB     
  Downloading: 68 kB     
  Downloading: 68 kB     
  Downloading: 70 kB     
  Downloading: 70 kB     
  Downloading: 74 kB     
  Downloading: 74 kB     
  Downloading: 77 kB     
  Downloading: 77 kB     
  Downloading: 81 kB     
  Downloading: 81 kB     
  Downloading: 81 kB     
  Downloading: 81 kB     
  Downloading: 81 kB     
  Downloading: 81 kB     
  Downloading: 85 kB     
  Downloading: 85 kB     
  Downloading: 85 kB     
  Downloading: 85 kB     
  Downloading: 89 kB     
  Downloading: 89 kB     
  Downloading: 93 kB     
  Downloading: 93 kB     
  Downloading: 95 kB     
  Downloading: 95 kB     
  Downloading: 95 kB     
  Downloading: 95 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: 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: 3.5 kB     
  Downloading: 3.5 kB     
  Downloading: 7.6 kB     
  Downloading: 7.6 kB     
  Downloading: 10 kB     
  Downloading: 10 kB     
  Downloading: 14 kB     
  Downloading: 14 kB     
  Downloading: 16 kB     
  Downloading: 16 kB     
  Downloading: 19 kB     
  Downloading: 19 kB     
  Downloading: 23 kB     
  Downloading: 23 kB     
  Downloading: 27 kB     
  Downloading: 27 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 36 kB     
  Downloading: 36 kB     
  Downloading: 40 kB     
  Downloading: 40 kB     
  Downloading: 44 kB     
  Downloading: 44 kB     
  Downloading: 48 kB     
  Downloading: 48 kB     
  Downloading: 49 kB     
  Downloading: 49 kB     
  Downloading: 52 kB     
  Downloading: 52 kB     
  Downloading: 56 kB     
  Downloading: 56 kB     
  Downloading: 56 kB     
  Downloading: 56 kB     
  Downloading: 60 kB     
  Downloading: 60 kB     
  Downloading: 64 kB     
  Downloading: 64 kB     
  Downloading: 65 kB     
  Downloading: 65 kB     
  Downloading: 69 kB     
  Downloading: 69 kB     
  Downloading: 73 kB     
  Downloading: 73 kB     
  Downloading: 73 kB     
  Downloading: 73 kB     
  Downloading: 75 kB     
  Downloading: 75 kB     
  Downloading: 79 kB     
  Downloading: 79 kB     
  Downloading: 81 kB     
  Downloading: 81 kB     
  Downloading: 84 kB     
  Downloading: 84 kB     
  Downloading: 88 kB     
  Downloading: 88 kB     
  Downloading: 91 kB     
  Downloading: 91 kB     
  Downloading: 95 kB     
  Downloading: 95 kB     
  Downloading: 98 kB     
  Downloading: 98 kB     
  Downloading: 100 kB     
  Downloading: 100 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: 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: 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: 2.3 kB     
  Downloading: 2.3 kB     
  Downloading: 5.2 kB     
  Downloading: 5.2 kB     
  Downloading: 9.3 kB     
  Downloading: 9.3 kB     
  Downloading: 13 kB     
  Downloading: 13 kB     
  Downloading: 16 kB     
  Downloading: 16 kB     
  Downloading: 18 kB     
  Downloading: 18 kB     
  Downloading: 22 kB     
  Downloading: 22 kB     
  Downloading: 25 kB     
  Downloading: 25 kB     
  Downloading: 27 kB     
  Downloading: 27 kB     
  Downloading: 31 kB     
  Downloading: 31 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 35 kB     
  Downloading: 35 kB     
  Downloading: 35 kB     
  Downloading: 35 kB     
  Downloading: 39 kB     
  Downloading: 39 kB     
  Downloading: 41 kB     
  Downloading: 41 kB     
  Downloading: 45 kB     
  Downloading: 45 kB     
  Downloading: 49 kB     
  Downloading: 49 kB     
  Downloading: 53 kB     
  Downloading: 53 kB     
  Downloading: 56 kB     
  Downloading: 56 kB     
  Downloading: 60 kB     
  Downloading: 60 kB     
  Downloading: 64 kB     
  Downloading: 64 kB     
  Downloading: 65 kB     
  Downloading: 65 kB     
  Downloading: 67 kB     
  Downloading: 67 kB     
  Downloading: 67 kB     
  Downloading: 67 kB     
  Downloading: 71 kB     
  Downloading: 71 kB     
  Downloading: 75 kB     
  Downloading: 75 kB     
  Downloading: 79 kB     
  Downloading: 79 kB     
  Downloading: 81 kB     
  Downloading: 81 kB     
  Downloading: 85 kB     
  Downloading: 85 kB     
  Downloading: 85 kB     
  Downloading: 85 kB     
  Downloading: 88 kB     
  Downloading: 88 kB     
  Downloading: 92 kB     
  Downloading: 92 kB     
  Downloading: 96 kB     
  Downloading: 96 kB     
  Downloading: 98 kB     
  Downloading: 98 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: 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     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-next.R:1:1): (code run outside of `test_that()`) ──────────────
  `imf_data(...)` threw an error.
  Message: GnuTLS recv error (-110): The TLS connection was non-properly terminated.
  Class:   simpleError/error/condition
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at 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)
    9. │     ├─... %>% content(type = "text", encoding = "UTF-8")
   10. │     └─httr::RETRY("GET", URL, user_agent(""), progress(), times = times)
   11. └─httr::content(., type = "text", encoding = "UTF-8")
   12.   ├─base::stopifnot(is.response(x))
   13.   └─httr:::is.response(x)
  ── Error (test-next.R:11:1): (code run outside of `test_that()`) ───────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: GnuTLS recv error (-110): The TLS connection was non-properly terminated.
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-next.R:11:0
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::ncol(...)
    5. ├─imfr::imf_data(...)
    6. │ └─imfr:::imf_data_one(...)
    7. │   └─imfr:::download_parse(URL)
    8. │     ├─... %>% content(type = "text", encoding = "UTF-8")
    9. │     └─httr::RETRY("GET", URL, user_agent(""), progress(), times = times)
   10. └─httr::content(., type = "text", encoding = "UTF-8")
   11.   ├─base::stopifnot(is.response(x))
   12.   └─httr:::is.response(x)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted