From c2e7ff41ea058005a68d9ba63593d9c1bd25551e Mon Sep 17 00:00:00 2001 From: pat-s Date: Mon, 29 Jul 2024 19:40:32 +0200 Subject: [PATCH] brackets issue --- .woodpecker/build.yaml | 2 +- R/build_binaries.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index dcb9c55..69ed060 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -6,7 +6,7 @@ skip_clone: true matrix: include: - PLATFORM: rhel-9 - BLOCK: 920:1450 + BLOCK: 942:1450 # - PLATFORM: rhel-9 # BLOCK: 1051:1450 # - PLATFORM: rhel-9 diff --git a/R/build_binaries.R b/R/build_binaries.R index f4a28ad..46601b8 100644 --- a/R/build_binaries.R +++ b/R/build_binaries.R @@ -71,7 +71,7 @@ build_binary_package <- function(package_name, tag = NULL, codename = NULL, }, # NB: here we need to use conditionMessage() to extract the actual error - as opposed to using $stderr for errors within the tryCatch used in the future* calls error = function(e) { - cli::cli_alert_warning("Error in installing dependencies for package {.pkg {package_name{1]}} with tag {.field {tag[1]}}: {e}") + cli::cli_alert_warning("Error in installing dependencies for package {.pkg {package_name[1]}} with tag {.field {tag[1]}}: {e}") store_build_metadata(package_name[1], tag[1], platform, error_occurred = TRUE, force = TRUE, error = conditionMessage(e)) return(TRUE) }