fix reported build time unit
This commit is contained in:
parent
bcf818dc01
commit
8c092af8b9
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ build_single_tag <- function(
|
|||
cli::cli_alert("{.fun build_single_tag}: (3/3) Removing {.path {local_clone_dir_single}}.")
|
||||
unlink(local_clone_dir_single, force = TRUE, recursive = TRUE)
|
||||
|
||||
total_build_time <- round(Sys.time() - t1, 2)
|
||||
total_build_time <- round(difftime(Sys.time(), t1, units = "secs"), 2)
|
||||
|
||||
# skip DB connection if package already exists
|
||||
if (file.exists(sprintf("%s/%s_%s.tar.gz", dir_out_bin, package_name, tag))) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue