Skip to content

Commit

Permalink
maybe on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
paleolimbot committed Oct 6, 2023
1 parent e053700 commit e74215e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion r/tools/winlibs.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ if (!file.exists(sprintf("windows/arrow-%s/include/arrow/api.h", VERSION))) {
# Download static arrow from the apache artifactory
quietly <- !identical(tolower(Sys.getenv("ARROW_R_DEV")), "true")
get_file <- function(template, version) {
binary_version <- Sys.getenv("LIBARROW_BINARY_VERSION", version)
try(
suppressWarnings(
download.file(sprintf(template, version), "lib.zip", quiet = quietly)
download.file(sprintf(template, binary_version), "lib.zip", quiet = quietly)
),
silent = quietly
)
Expand Down

0 comments on commit e74215e

Please sign in to comment.