If download failed, it will be repeated until max attempt reached.
persistentDownload(
file.url,
output.name,
max.attempt = 5,
user.invoke = TRUE,
header
)
A downloaded file.
File uniform resource locator.
Output name.
Maximum number of attempt. Default is 5.
If number of attempt is reached, ask user whether to keep trying. Default is TRUE to invoke the prompt.
A named list or vector of curl header.