Skip to content

Commit

Permalink
Merge pull request #140 from kosukeimai/1beb-preflight-fix
Browse files Browse the repository at this point in the history
Update merge_names.R
  • Loading branch information
1beb authored Feb 28, 2024
2 parents f10531b + 4e9b7f6 commit fb687e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/merge_names.R
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ wru_data_preflight <- function() {
dest <- ifelse(getOption("wru_data_wd", default = FALSE), getwd(), tempdir())
tryCatch(
# Oddity of conditions for .token. Ignores token if is ""
piggyback::pb_download(repo = "kosukeimai/wru", dest = dest, .token = ""),
piggyback::pb_download(repo = "kosukeimai/wru", dest = dest, .token = "", tag = "v2.0.0"),
error = function(e) message("There was an error retrieving data: ", e$message)
)
}

0 comments on commit fb687e6

Please sign in to comment.