parallel again
This commit is contained in:
parent
ab3d1ec103
commit
63d2183a89
1 changed files with 7 additions and 9 deletions
|
|
@ -89,7 +89,7 @@ build_binary_package <- function(package_name, tag = NULL, codename = NULL,
|
|||
{
|
||||
p()
|
||||
store_build_metadata(x, y, platform, FALSE)
|
||||
build_single_tag(x, y, dir_out_bin, local_clone_dir, platform = platform)
|
||||
dump <- build_single_tag(x, y, dir_out_bin, local_clone_dir, platform = platform)
|
||||
},
|
||||
error = function(e) {
|
||||
message(sprintf("Error in processing package %s with tag %s: %s", x, y, e))
|
||||
|
|
@ -101,8 +101,6 @@ build_binary_package <- function(package_name, tag = NULL, codename = NULL,
|
|||
}, package_name, tag, future.seed = TRUE)
|
||||
})
|
||||
|
||||
# round(Sys.time() - t1, 2)}} {units(difftime(Sys.time(), t1))}
|
||||
|
||||
total_build_time <- round(Sys.time() - t1, 2)
|
||||
cli::cli_alert_info("Execution time for {.pkg {package_name[[1]]}} ({length(tag)} tags): {.strong {total_build_time} {units(difftime(Sys.time(), t1))}}.")
|
||||
|
||||
|
|
@ -113,7 +111,7 @@ build_binary_package <- function(package_name, tag = NULL, codename = NULL,
|
|||
tryCatch(
|
||||
{
|
||||
p()
|
||||
upload_single_binary_to_s3(package_name = x, tag = y, force = force, build_for_minor = build_for_minor, debug = debug)
|
||||
dump <- upload_single_binary_to_s3(package_name = x, tag = y, force = force, build_for_minor = build_for_minor, debug = debug)
|
||||
},
|
||||
error = function(e) {
|
||||
message(sprintf("Error in uploading package %s with tag %s: %s", x, y, e))
|
||||
|
|
|
|||
Loading…
Reference in a new issue