Open-EO / openeo-r-client

R client package for working with openEO backends

Home Page:https://open-eo.github.io/openeo-r-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adjust internet download timeout

flahn opened this issue · comments

From: https://discuss.eodc.eu/t/timeout-error-during-download-of-large-data/185/5

We use download.file() for downloading the data in download_results(). There the default timeout is set to 60s in the global variables options("timeout"). 60s is rather short and we should rethink the use of download.file in favor of some httr2 functions.

I needed to touch the function during implementations for sample data retrieval, so it made sense to solve this along the line.