add debug support to add_to_package_index
This commit is contained in:
parent
a40e81e783
commit
0f37c1407b
2 changed files with 3 additions and 2 deletions
|
|
@ -137,7 +137,7 @@ build_binary_package <- function(package_name, tag = NULL, codename = NULL,
|
|||
|
||||
cli::cli_h2("Updating package index for package ({.pkg {package_name[1]}})")
|
||||
|
||||
add_to_package_index(package_name[1])
|
||||
add_to_package_index(package_name[1], debug = debug)
|
||||
|
||||
return(invisible(TRUE))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,8 @@ add_to_package_index <- function(
|
|||
region = "eu-central-003",
|
||||
bucket = "devxy-arm64-r-binaries",
|
||||
codename = NULL, r_minor_version = NULL,
|
||||
build_for_minor = FALSE) {
|
||||
build_for_minor = FALSE,
|
||||
debug = FALSE) {
|
||||
codename <- set_codename(codename)
|
||||
if (is.null(r_minor_version)) {
|
||||
r_minor_version <- sub("R version (\\d+\\.\\d+).*", "\\1", R.Version()$version.string)
|
||||
|
|
|
|||
Loading…
Reference in a new issue