Skip to content

Commit

Permalink
Add seconds to filename for historical archives
Browse files Browse the repository at this point in the history
To avoid conflicts when two workflows happen to snapshot at the same minute.
  • Loading branch information
Bisaloo committed Aug 27, 2024
1 parent 74e2729 commit 6fee007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/dashboard.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ cran_incoming %>%
select(package, version, snapshot_time, folder, subfolder, submission_time) %>%
arrange(package, version) %>%
write.csv(
paste0("cran-incoming-v5-", format(Sys.time(), "%Y%m%dT%H%M"), ".csv"),
paste0("cran-incoming-v5-", format(Sys.time(), "%Y%m%dT%H%M%S"), ".csv"),
row.names = FALSE,
quote = FALSE
)
Expand Down

0 comments on commit 6fee007

Please sign in to comment.