
Download File from Cloud Storage, Retrying on Failure
Source:R/storage.R
insistent_download_cloud_file.Rddownload_cloud_file() wrapped in with_storage_retry().
Usage
insistent_download_cloud_file(
name,
provider,
options,
file = name,
max_times = 10,
pause_cap = 300
)Arguments
- name
A character vector of object names in cloud storage.
- provider
A character string specifying the cloud storage provider.
- options
A named list of cloud storage provider options.
- file
A character vector of local file paths. Defaults to object names.
- max_times
Maximum number of attempts. Default
10.- pause_cap
Longest pause between attempts, in seconds. Default
300.
Value
A character vector of local file paths, as download_cloud_file().