Running 'testthat.R' [4s/114s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(imfr)
  > 
  > test_check("imfr")
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |=============                                                         |  18%
    |                                                                            
    |======================================================================| 100%
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |========                                                              |  12%
    |                                                                            
    |======================================================================| 100%
  
  Downloading: 4 kB     
  Downloading: 4 kB     
  Downloading: 6.9 kB     
  Downloading: 6.9 kB     
  Downloading: 9.8 kB     
  Downloading: 9.8 kB     
  Downloading: 13 kB     
  Downloading: 13 kB     
  Downloading: 16 kB     
  Downloading: 16 kB     
  Downloading: 16 kB     
  Downloading: 16 kB     
  Downloading: 20 kB     
  Downloading: 20 kB     
  Downloading: 23 kB     
  Downloading: 23 kB     
  Downloading: 26 kB     
  Downloading: 26 kB     
  Downloading: 29 kB     
  Downloading: 29 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 36 kB     
  Downloading: 36 kB     
  Downloading: 39 kB     
  Downloading: 39 kB     
  Downloading: 39 kB     
  Downloading: 39 kB     
  Downloading: 39 kB     
  Downloading: 39 kB     
  Downloading: 39 kB     
  Downloading: 39 kB     
  Downloading: 42 kB     
  Downloading: 42 kB     
  Downloading: 44 kB     
  Downloading: 44 kB     
  Downloading: 47 kB     
  Downloading: 47 kB     
  Downloading: 49 kB     
  Downloading: 49 kB     
  Downloading: 52 kB     
  Downloading: 52 kB     
  Downloading: 55 kB     
  Downloading: 55 kB     
  Downloading: 57 kB     
  Downloading: 57 kB     
  Downloading: 60 kB     
  Downloading: 60 kB     
  Downloading: 63 kB     
  Downloading: 63 kB     
  Downloading: 66 kB     
  Downloading: 66 kB     
  Downloading: 69 kB     
  Downloading: 69 kB     
  Downloading: 69 kB     
  Downloading: 69 kB     
  Downloading: 72 kB     
  Downloading: 72 kB     
  Downloading: 72 kB     
  Downloading: 72 kB     
  Downloading: 72 kB     
  Downloading: 72 kB     
  Downloading: 75 kB     
  Downloading: 75 kB     
  Downloading: 78 kB     
  Downloading: 78 kB     
  Downloading: 82 kB     
  Downloading: 82 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: 97 kB     
  Downloading: 97 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: 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: 4 kB     
  Downloading: 4 kB     
  Downloading: 6.9 kB     
  Downloading: 6.9 kB     
  Downloading: 9.8 kB     
  Downloading: 9.8 kB     
  Downloading: 13 kB     
  Downloading: 13 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: 26 kB     
  Downloading: 26 kB     
  Downloading: 29 kB     
  Downloading: 29 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 36 kB     
  Downloading: 36 kB     
  Downloading: 39 kB     
  Downloading: 39 kB     
  Downloading: 42 kB     
  Downloading: 42 kB     
  Downloading: 44 kB     
  Downloading: 44 kB     
  Downloading: 47 kB     
  Downloading: 47 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: 59 kB     
  Downloading: 59 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: 72 kB     
  Downloading: 72 kB     
  Downloading: 75 kB     
  Downloading: 75 kB     
  Downloading: 78 kB     
  Downloading: 78 kB     
  Downloading: 82 kB     
  Downloading: 82 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: 97 kB     
  Downloading: 97 kB     
  Downloading: 97 kB     
  Downloading: 97 kB     
  Downloading: 97 kB     
  Downloading: 97 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: 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: 4 kB     
  Downloading: 4 kB     
  Downloading: 6.9 kB     
  Downloading: 6.9 kB     
  Downloading: 9.8 kB     
  Downloading: 9.8 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: 26 kB     
  Downloading: 26 kB     
  Downloading: 29 kB     
  Downloading: 29 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 36 kB     
  Downloading: 36 kB     
  Downloading: 39 kB     
  Downloading: 39 kB     
  Downloading: 42 kB     
  Downloading: 42 kB     
  Downloading: 44 kB     
  Downloading: 44 kB     
  Downloading: 47 kB     
  Downloading: 47 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: 72 kB     
  Downloading: 72 kB     
  Downloading: 75 kB     
  Downloading: 75 kB     
  Downloading: 78 kB     
  Downloading: 78 kB     
  Downloading: 82 kB     
  Downloading: 82 kB     
  Downloading: 85 kB     
  Downloading: 85 kB     
  Downloading: 88 kB     
  Downloading: 88 kB     
  Downloading: 88 kB     
  Downloading: 88 kB     
  Downloading: 91 kB     
  Downloading: 91 kB     
  Downloading: 91 kB     
  Downloading: 91 kB     
  Downloading: 91 kB     
  Downloading: 91 kB     
  Downloading: 94 kB     
  Downloading: 94 kB     
  Downloading: 97 kB     
  Downloading: 97 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: 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: 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     -- 1. Failure: (unknown) (@test-next.R#1)  -------------------------------------
  `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(...)
    6. imfr::imf_data(...)
    7. imfr:::imf_data_one(...)
    8. imfr:::download_parse(URL)
   12. httr::RETRY("GET", URL, user_agent(""), progress(), times = times)
  
  
  Downloading: 4 kB     
  Downloading: 4 kB     
  Downloading: 6.9 kB     
  Downloading: 6.9 kB     
  Downloading: 9.8 kB     
  Downloading: 9.8 kB     
  Downloading: 13 kB     
  Downloading: 13 kB     
  Downloading: 16 kB     
  Downloading: 16 kB     
  Downloading: 20 kB     
  Downloading: 20 kB     
  Downloading: 20 kB     
  Downloading: 20 kB     
  Downloading: 23 kB     
  Downloading: 23 kB     
  Downloading: 26 kB     
  Downloading: 26 kB     
  Downloading: 29 kB     
  Downloading: 29 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 36 kB     
  Downloading: 36 kB     
  Downloading: 39 kB     
  Downloading: 39 kB     
  Downloading: 42 kB     
  Downloading: 42 kB     
  Downloading: 44 kB     
  Downloading: 44 kB     
  Downloading: 47 kB     
  Downloading: 47 kB     
  Downloading: 49 kB     
  Downloading: 49 kB     
  Downloading: 52 kB     
  Downloading: 52 kB     
  Downloading: 52 kB     
  Downloading: 52 kB     
  Downloading: 55 kB     
  Downloading: 55 kB     
  Downloading: 55 kB     
  Downloading: 55 kB     
  Downloading: 57 kB     
  Downloading: 57 kB     
  Downloading: 60 kB     
  Downloading: 60 kB     
  Downloading: 63 kB     
  Downloading: 63 kB     
  Downloading: 66 kB     
  Downloading: 66 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: 82 kB     
  Downloading: 82 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: 97 kB     
  Downloading: 97 kB     
  Downloading: 97 kB     
  Downloading: 97 kB     
  Downloading: 97 kB     
  Downloading: 97 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: 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: 4 kB     
  Downloading: 4 kB     
  Downloading: 6.9 kB     
  Downloading: 6.9 kB     
  Downloading: 9.8 kB     
  Downloading: 9.8 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: 26 kB     
  Downloading: 26 kB     
  Downloading: 29 kB     
  Downloading: 29 kB     
  Downloading: 29 kB     
  Downloading: 29 kB     
  Downloading: 29 kB     
  Downloading: 29 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 36 kB     
  Downloading: 36 kB     
  Downloading: 39 kB     
  Downloading: 39 kB     
  Downloading: 42 kB     
  Downloading: 42 kB     
  Downloading: 44 kB     
  Downloading: 44 kB     
  Downloading: 47 kB     
  Downloading: 47 kB     
  Downloading: 49 kB     
  Downloading: 49 kB     
  Downloading: 52 kB     
  Downloading: 52 kB     
  Downloading: 55 kB     
  Downloading: 55 kB     
  Downloading: 57 kB     
  Downloading: 57 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: 69 kB     
  Downloading: 69 kB     
  Downloading: 69 kB     
  Downloading: 69 kB     
  Downloading: 72 kB     
  Downloading: 72 kB     
  Downloading: 72 kB     
  Downloading: 72 kB     
  Downloading: 75 kB     
  Downloading: 75 kB     
  Downloading: 78 kB     
  Downloading: 78 kB     
  Downloading: 82 kB     
  Downloading: 82 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: 97 kB     
  Downloading: 97 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: 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: 4 kB     
  Downloading: 4 kB     
  Downloading: 6.9 kB     
  Downloading: 6.9 kB     
  Downloading: 9.8 kB     
  Downloading: 9.8 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: 26 kB     
  Downloading: 26 kB     
  Downloading: 29 kB     
  Downloading: 29 kB     
  Downloading: 29 kB     
  Downloading: 29 kB     
  Downloading: 29 kB     
  Downloading: 29 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 36 kB     
  Downloading: 36 kB     
  Downloading: 39 kB     
  Downloading: 39 kB     
  Downloading: 42 kB     
  Downloading: 42 kB     
  Downloading: 44 kB     
  Downloading: 44 kB     
  Downloading: 47 kB     
  Downloading: 47 kB     
  Downloading: 49 kB     
  Downloading: 49 kB     
  Downloading: 52 kB     
  Downloading: 52 kB     
  Downloading: 55 kB     
  Downloading: 55 kB     
  Downloading: 57 kB     
  Downloading: 57 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: 75 kB     
  Downloading: 75 kB     
  Downloading: 78 kB     
  Downloading: 78 kB     
  Downloading: 82 kB     
  Downloading: 82 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: 97 kB     
  Downloading: 97 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: 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: 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     -- 2. Error: (unknown) (@test-next.R#11)  --------------------------------------
  GnuTLS recv error (-110): The TLS connection was non-properly terminated.
  Backtrace:
    1. testthat::expect_equal(...)
    5. imfr::imf_data(...)
    6. imfr:::imf_data_one(...)
    7. imfr:::download_parse(URL)
   11. httr::RETRY("GET", URL, user_agent(""), progress(), times = times)
  
  == testthat results  ===========================================================
  [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
  1. Failure: (unknown) (@test-next.R#1) 
  2. Error: (unknown) (@test-next.R#11) 
  
  Error: testthat unit tests failed
  Execution halted