I am trying to use usethis::use_zip
to download and unpack a ZIP file into a local folder of files.
usethis::use_zip(
url = "https://www.dropbox.com/s/ltxw05j8wk81i8o/test.zip?dl=1"
)
I get the error:
Error: Download does not have MIME type 'application/zip'. Instead it's 'application/binary'.
R version 4.0.2 (2020-06-22)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.7
usethis_2.0.1