Skip to content

Commit e9978e1

Browse files
committed
Use curl to download because win builder SSL is broken right now
1 parent 5cc0eb4 commit e9978e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/winlibs.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ VERSION <- commandArgs(TRUE)
33
IM <- substr(VERSION, 1,1)
44
if(!file.exists(sprintf("../windows/imagemagick%s-%s/include/ImageMagick-%s/Magick++.h", IM, VERSION, IM))){
55
if(getRversion() < "3.3.0") setInternet2()
6-
download.file(sprintf("https://github.com/rwinlib/imagemagick%s/archive/v%s.zip", IM, VERSION), "lib.zip", quiet = TRUE)
6+
curl::curl_download(sprintf("https://github.com/rwinlib/imagemagick%s/archive/v%s.zip", IM, VERSION), "lib.zip")
77
dir.create("../windows", showWarnings = FALSE)
88
unzip("lib.zip", exdir = "../windows")
99
unlink("lib.zip")

0 commit comments

Comments
 (0)