Skip to content

Commit bd469b1

Browse files
committed
Use curl for downloading
1 parent aff11be commit bd469b1

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.Rbuildignore

+1
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ src\/RCS
2525
^revdep$
2626
^appveyor.yml$
2727
^.github$
28+
README.md$

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ Collate:
3535
'transaction.R'
3636
Suggests:
3737
testthat,
38-
RMariaDB
38+
curl

tools/winlibs.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Info and source code: https://downloads.mariadb.org/client-native/
33
if(!file.exists("../windows/libmariadbclient-2.3.4/include/mariadb/mysql.h")){
44
if(getRversion() < "3.3.0") setInternet2()
5-
download.file("https://github.com/rwinlib/libmariadbclient/archive/v2.3.4.zip", "lib.zip", quiet = TRUE)
5+
curl::curl_download("https://github.com/rwinlib/libmariadbclient/archive/v2.3.4.zip", "lib.zip")
66
dir.create("../windows", showWarnings = FALSE)
77
unzip("lib.zip", exdir = "../windows")
88
unlink("lib.zip")

0 commit comments

Comments
 (0)