Skip to content

Commit

Permalink
Update source_data.R
Browse files Browse the repository at this point in the history
  • Loading branch information
xtimbeau committed Nov 5, 2024
1 parent 8130a24 commit 850a810
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/source_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ source_data_refresh <- function(
quiet = TRUE,
init_qmd = TRUE,
root = NULL) {

start <- Sys.time()
if(is.null(what))
what <- source_data_status(cache_rep = cache_rep, root = root, quiet = quiet)

Expand Down Expand Up @@ -740,6 +740,7 @@ source_data_refresh <- function(
list(src = src_data$src, ok = src_data$ok)
}
)
cli::cli_alert_success("Refresh en {round(as.numeric(Sys.time()-start))} s.")
res <- purrr::transpose(res)
res$src[res$ok == "exec"]
}
Expand Down

0 comments on commit 850a810

Please sign in to comment.