Teal-Insights / r-wbids

R package to access and analyze World Bank International Debt Statistics (IDS)
https://teal-insights.github.io/r-wbids/
Other
3 stars 0 forks source link

Fix failing tests in for `ids_bulk` due to gateway timeouts #36

Closed christophscheuch closed 1 day ago

christophscheuch commented 1 day ago

Need to handle 504 errors because R-CMD-CHECK sometimes fails on GitHub Actions:

── Error ('test-ids_bulk.R:107:3'): ids_bulk handles timeout parameter correctly ──
<httr2_http_504/httr2_http/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::req_headers(httr2::request(file_url), 
    Accept = "*/*"))`: HTTP 504 Gateway Timeout.