brackets issue

This commit is contained in:
Patrick Schratz 2024-07-29 19:40:32 +02:00
commit c2e7ff41ea
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

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