return info if no packages are staged for removal
This commit is contained in:
parent
dfd313d13b
commit
15a52c2622
1 changed files with 4 additions and 0 deletions
|
|
@ -50,6 +50,10 @@ get_removed_cran_packages <- function(date = lubridate::today()) {
|
|||
results <- purrr::map(feed, ~ process_cranberries_rss(.x, date)) %>%
|
||||
purrr::list_rbind()
|
||||
|
||||
if (nrow(results == 0)) {
|
||||
cli::cli_alert_info("{.fun archive_package}: No packages to archive for interval {.field {date}}.")
|
||||
}
|
||||
|
||||
return(results)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue