improve logging
This commit is contained in:
parent
db03c0dffb
commit
8d927f9eff
1 changed files with 4 additions and 4 deletions
|
|
@ -3,7 +3,7 @@ install_package_system_dependencies <- function(package_name,
|
|||
tag,
|
||||
platform = "redhat-9",
|
||||
local_clone_dir) {
|
||||
cli::cli_alert("{.fun install_package_system_dependencies}: Cloning package {.pkg {package_name[1]}} with tag {.field {tag}}.")
|
||||
cli::cli_alert("{.fun install_package_system_dependencies}: Cloning package {.pkg {package_name[1]}} with tag {.field {tail(tag, 1)}}.")
|
||||
|
||||
t1 <- Sys.time()
|
||||
|
||||
|
|
@ -24,7 +24,7 @@ install_package_system_dependencies <- function(package_name,
|
|||
cli::cli_alert("{.fun install_package_system_dependencies}: Removing {.path {local_clone_dir_single}}.")
|
||||
|
||||
total_build_time <- round(Sys.time() - t1, 2)
|
||||
cli::cli_alert("Execution time for installing dependencies of {.pkg {package_name[[1]]}}: {.strong {total_build_time} {units(difftime(Sys.time(), t1))}}.")
|
||||
cli::cli_alert("Execution time for installing dependencies of package {.pkg {package_name[[1]]}}: {.strong {total_build_time} {units(difftime(Sys.time(), t1))}}.")
|
||||
|
||||
unlink(sprintf("%s", local_clone_dir_single), recursive = TRUE, force = TRUE)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue