add debug support to add_to_package_index

This commit is contained in:
Patrick Schratz 2024-07-26 11:26:19 +02:00
commit 0f37c1407b
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -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)