archive package after build
This commit is contained in:
parent
c6850b4112
commit
28db7fc826
2 changed files with 9 additions and 2 deletions
|
|
@ -14,7 +14,8 @@ build_binary_package <- function(package_name, tag = NULL, codename = NULL,
|
|||
platform = NULL,
|
||||
install_system_dependencies = TRUE,
|
||||
debug = FALSE,
|
||||
force = FALSE) {
|
||||
force = FALSE,
|
||||
archive = TRUE) {
|
||||
cli::cli_h2("Preparations ({.pkg {package_name}})")
|
||||
codename <- set_codename(codename)
|
||||
|
||||
|
|
@ -113,6 +114,11 @@ 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)
|
||||
|
|
|
|||
|
|
@ -15,7 +15,8 @@ build_binary_package(
|
|||
platform = NULL,
|
||||
install_system_dependencies = TRUE,
|
||||
debug = FALSE,
|
||||
force = FALSE
|
||||
force = FALSE,
|
||||
archive = TRUE
|
||||
)
|
||||
}
|
||||
\description{
|
||||
|
|
|
|||
Loading…
Reference in a new issue