Skip to content

Commit 29de42b

Browse files
authored
Merge pull request #16 from MadDERt/fix-drugs
fix: use curl download method for fda_drugs()
2 parents a63eb58 + 12f0bcb commit 29de42b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/fda_drugs.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ fda_drugs_file <- function(url = NULL, force,
5252
ext = "zip",
5353
name = "Drugs@FDA data",
5454
dir = dir,
55-
method = "base", mode = "wb",
55+
method = "curl",
5656
arg = arg, call = call
5757
)
5858
}

0 commit comments

Comments
 (0)