ropensci / bowerbird

Keep a collection of sparkly data resources
https://docs.ropensci.org/bowerbird
Other
47 stars 6 forks source link

reusing curl handle has odd behaviour #27

Open raymondben opened 5 years ago

raymondben commented 5 years ago

https://github.com/ropensci/bowerbird/blob/master/R/rget.R#L221

Reusing the handle here does not work: if the first file in a sequence of downloads already exists and does not need to be downloaded, then any subsequent downloads will act as if that associated file already exists as well. Using new handle for the time being as a workaround.