remake icon indicating copy to clipboard operation
remake copied to clipboard

Download command fails on (some) windows machines

Open dfalster opened this issue 10 years ago • 2 comments

Hi Rich,

In prepping for a tutorial on remake (https://github.com/traitecoevo/remake_baad_example), @johnbaums discovered that the download rule in remake was not working quite correctly on his windows machines. The issue was described here. A temporary workaround was to replace the inbuilt download command from remake with a function which explicitly declares mode ="wb", as implemented here.

Looking at remake's implementation the mode argument is missing.

dfalster avatar Dec 07 '15 04:12 dfalster

Ah, just saw this https://github.com/richfitz/remake/pull/65

dfalster avatar Dec 07 '15 04:12 dfalster

So, R's internal download support seems to be in a state of flux at the moment. I might try and swap the current system out for libcurl based downloads, or move to the approach in dataverse (using the curl package). Thanks for the reminder about #65. I am hoping to do a remake push once I get the storr bits done soon.

richfitz avatar Dec 07 '15 10:12 richfitz