Skip to content

Commit

Permalink
Merge pull request #180 from OxfordIHTM/dev
Browse files Browse the repository at this point in the history
refactor pact_download_figshare_private; fix #179
  • Loading branch information
ernestguevarra authored Oct 28, 2024
2 parents dfafd0a + 847b537 commit fd7a548
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/pact_download.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
}
}
Expand Down

0 comments on commit fd7a548

Please sign in to comment.