-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add overwrite
arg to downloadModule
& downloadData
#7
Comments
NOTE: |
presumably a |
Yes. Sorry my “note to self” wasn't fully explanatory: we will need to
rewrite the uses of download.file to use GET so that an overwrite arg can
be passed everywhere relevant.
|
I've added an overwrite option to downloadModule and opened a PR. There seem to be two minor conflicts (which I think I solved?) on the .R and .Rd files for downloadModules. |
Also, in response to Alex's last comment: are you sure the overwrite option can be passed to GET? I've passed if to write_disk in downloadModule, because I couldn't find an overwrite option in GET. |
Thanks @CeresBarros! The |
@CeresBarros did you also add it to |
Nop, but if overwrite passes from |
@CeresBarros suggested an
overwrite
argument. It would have to be passed through toGET
tohttr::write_disk
which actually does the writing to disk.Perhaps like this:
(https://yokekeong.com/download-files-over-https-in-r-with-httr/)
e.g.,
The text was updated successfully, but these errors were encountered: