add timestamp to cli output

This commit is contained in:
Patrick Schratz 2024-09-22 09:49:45 +02:00
commit e4a32163c6
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -79,7 +79,7 @@ build_binary_package <- function(package_name, tag = NULL, codename = NULL,
t1 <- Sys.time()
cli::cli_h2("Building ({.pkg {package_name[1]}})")
cli::cli_alert("Building binaries for {.pkg {package_name[[1]]}} with tags {.field {tag}}.")
cli::cli_alert("[{format(Sys.time(), format='%H:%M:%S')}] Building binaries for {.pkg {package_name[[1]]}} with tags {.field {tag}}.")
p <- progressr::progressor(along = tag)