wilsonfreitas / rbcb

R interface to Brazilian Central Bank web services
https://wilsonfreitas.github.io/rbcb/
Other
91 stars 22 forks source link

Error when downloading market expectations #28

Closed JHMenegotto closed 5 years ago

JHMenegotto commented 5 years ago

We have a problem with the server when downloading market expectations (the functions of the form get_xxx_market_expectations). It writes "Error in curl::curl_fetch_memory(url, handle = handle) : Failure when receiving data from the peer". I think it is the same issue as in

https://stackoverflow.com/questions/51247912/jsonlite-suddenly-retunring-error-failure-when-receiving-data-from-the-peer/51520771#51520771

Maybe using readLines before the fromJSON function would fix it.

thomazsarquis commented 5 years ago

Same here! Any solutions?

jccondi commented 5 years ago

I was using the get_annual_market_expectations function (and similars) with no problems but suddenly it stopped working, presenting the same error above. I tried to reinstal the library but it didn't work. I didn't make any changes that could affect its usability. Any help???

fabiocs8 commented 5 years ago

Same problem today with me

wilsonfreitas commented 5 years ago

Solved, but it is still presenting errors in CRAN check for a few platforms. I really don't understand, because the package runs perfectly in my machines and in RHub, but fails in CRAN infrastructure. I'll keep this issue updated. Thanks for your support.