add deps_verbose arg

This commit is contained in:
Patrick Schratz 2024-09-08 13:59:29 +02:00
commit d643ba185c
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -13,6 +13,7 @@ build_binary_package <- function(package_name, tag = NULL, codename = NULL,
local_clone_dir = "/tmp",
platform = NULL,
install_system_dependencies = TRUE,
deps_verbose = FALSE,
debug = FALSE,
force = FALSE,
archive = TRUE) {
@ -79,7 +80,7 @@ build_binary_package <- function(package_name, tag = NULL, codename = NULL,
if (install_system_dependencies) {
tryCatch(
{
install_package_system_dependencies(package_name, tag, platform, local_clone_dir)
install_package_system_dependencies(package_name, tag, platform, local_clone_dir, deps_verbose)
},
# 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) {