fix archiving logic while building
This commit is contained in:
parent
c235c71955
commit
c8a2f26eb0
1 changed files with 3 additions and 4 deletions
|
|
@ -115,10 +115,6 @@ build_binary_package <- function(package_name, tag = NULL, codename = NULL,
|
|||
)
|
||||
}, package_name, tag, future.seed = TRUE)
|
||||
|
||||
if (archive) {
|
||||
archive_package(package_name[[1]])
|
||||
}
|
||||
|
||||
# })
|
||||
|
||||
total_build_time <- round(Sys.time() - t1, 2)
|
||||
|
|
@ -140,6 +136,9 @@ build_binary_package <- function(package_name, tag = NULL, codename = NULL,
|
|||
}, package_name, tag, future.seed = TRUE)
|
||||
})
|
||||
|
||||
if (archive) {
|
||||
archive_package(package_name[[1]])
|
||||
}
|
||||
return(invisible(TRUE))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue