Closed brry closed 3 years ago
Saw this on the R-pkg-devel list.
Yes, you want to do this. Otherwise, it won't properly work on Windows as you've noted. It bit me in https://github.com/ropensci/GSODR as I use macOS or Linux and forgot to set this for binary downloads.
Consider the implications of setting the default call to
download.file
withwb=TRUE
https://bookdown.org/brry/rdwd/raster-data.html#binary-file-errors