From 847b5375abfd3245ff5b12feefbdb1df4658a7fb Mon Sep 17 00:00:00 2001 From: Ernest Guevarra Date: Mon, 28 Oct 2024 14:26:38 +0000 Subject: [PATCH] refactor pact_download_figshare_private; fix #178 --- R/pact_download.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/pact_download.R b/R/pact_download.R index 3079145..2665ff3 100644 --- a/R/pact_download.R +++ b/R/pact_download.R @@ -89,13 +89,13 @@ pact_download_figshare_private <- function(path, if (overwrite) { download.file( url = download_url, destfile = file.path(path, filename), - quiet = quiet + mode = "wb", quiet = quiet ) } else { if (!file_present) { download.file( url = download_url, destfile = file.path(path, filename), - quiet = quiet + mode = "wb", quiet = quiet ) } }