overwrite PACKAGES when exists
This commit is contained in:
parent
2ea6fa9582
commit
f0af31e5d2
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ add_to_package_index <- function(
|
|||
|
||||
# get latest PACKAGES file from S3
|
||||
if (s3fs::s3_file_exists(sprintf("%s/PACKAGES", remote_bin_dir))) {
|
||||
s3fs::s3_file_download(sprintf("%s/PACKAGES", remote_bin_dir), sprintf("%s/PACKAGES", local_bin_dir))
|
||||
s3fs::s3_file_download(sprintf("%s/PACKAGES", remote_bin_dir), sprintf("%s/PACKAGES", local_bin_dir), overwrite = TRUE)
|
||||
}
|
||||
file_names <- list.files(local_bin_dir, pattern = sprintf("%s*", package_name))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue