Hi, I am trying to download files via fs_download.R but failed. I checked and found if I remove the default setting of method in download.files, the function could work.
Here is a demo:
# this function return error
fs_download(90818,urls_only = F)
# remove method would work
download.file('https://ndownloader.figshare.com/files/89529',destfile = 'test.csv')
Is there specific reason to use method = "internal"? It seems such setting disable the download function.
https://github.com/ropensci/rfigshare/blob/a08dcda1217a0e66e4510ff28a2c3944c5ef5725/R/fs_download.R#L39
Hi, I am trying to download files via
fs_download.R
but failed. I checked and found if I remove the default setting of method in download.files, the function could work.Here is a demo:
Is there specific reason to use
method = "internal"
? It seems such setting disable the download function.