Running examples in ‘imfr-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: imf_data
> ### Title: Download a data from the IMF
> ### Aliases: imf_data
> 
> ### ** Examples
> 
> # Download Real Effective Exchange Rate (CPI base) for the UK and China
> # at an annual frequency
> real_ex <- imf_data(database_id = 'IFS', indicator = 'EREER_IX',
+                country = c('CN', 'GB'), freq = 'A')
Error in curl::curl_fetch_memory(url, handle = handle): Recv failure: Connection reset by peer
Request failed [ERROR]. Retrying in 1 seconds...

Downloading: 3.5 kB     
Downloading: 3.5 kB     
Downloading: 7.2 kB     
Downloading: 7.2 kB     
Downloading: 11 kB     
Downloading: 11 kB     
Downloading: 15 kB     
Downloading: 15 kB     
Downloading: 16 kB     
Downloading: 16 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: 34 kB     
Downloading: 34 kB     
Downloading: 38 kB     
Downloading: 38 kB     
Downloading: 42 kB     
Downloading: 42 kB     
Downloading: 46 kB     
Downloading: 46 kB     
Downloading: 49 kB     
Downloading: 49 kB     
Downloading: 49 kB     
Downloading: 49 kB     
Downloading: 53 kB     
Downloading: 53 kB     
Downloading: 53 kB     
Downloading: 53 kB     
Downloading: 53 kB     
Downloading: 53 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: 70 kB     
Downloading: 70 kB     
Downloading: 74 kB     
Downloading: 74 kB     
Downloading: 78 kB     
Downloading: 78 kB     
Downloading: 82 kB     
Downloading: 82 kB     
Downloading: 86 kB     
Downloading: 86 kB     
Downloading: 89 kB     
Downloading: 89 kB     
Downloading: 89 kB     
Downloading: 89 kB     
Downloading: 89 kB     
Downloading: 89 kB     
Downloading: 93 kB     
Downloading: 93 kB     
Downloading: 97 kB     
Downloading: 97 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: 140 kB     
Downloading: 140 kB     
Downloading: 150 kB     
Downloading: 150 kB     
Downloading: 150 kB     
Downloading: 150 kB     
Downloading: 150 kB     Error in curl::curl_fetch_memory(url, handle = handle): GnuTLS recv error (-110): The TLS connection was non-properly terminated.
Request failed [ERROR]. Retrying in 1.5 seconds...

Downloading: 3.5 kB     
Downloading: 3.5 kB     
Downloading: 7.6 kB     
Downloading: 7.6 kB     
Downloading: 11 kB     
Downloading: 11 kB     
Downloading: 11 kB     
Downloading: 11 kB     
Downloading: 15 kB     
Downloading: 15 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: 31 kB     
Downloading: 31 kB     
Downloading: 32 kB     
Downloading: 32 kB     
Downloading: 36 kB     
Downloading: 36 kB     
Downloading: 40 kB     
Downloading: 40 kB     
Downloading: 40 kB     
Downloading: 40 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: 60 kB     
Downloading: 60 kB     
Downloading: 64 kB     
Downloading: 64 kB     
Downloading: 65 kB     
Downloading: 65 kB     
Downloading: 69 kB     
Downloading: 69 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: 81 kB     
Downloading: 81 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: 95 kB     
Downloading: 95 kB     
Downloading: 98 kB     
Downloading: 98 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     Error in curl::curl_fetch_memory(url, handle = handle) : 
  GnuTLS recv error (-110): The TLS connection was non-properly terminated.
Calls: imf_data ... %>% -> content -> stopifnot -> is.response -> RETRY
Execution halted