feat: account for removed packages in metadata
This commit is contained in:
parent
79104a4455
commit
8c8a8c0a98
1 changed files with 18 additions and 4 deletions
|
|
@ -84,6 +84,8 @@ process_cran_updates <- function(
|
|||
if (length(files_filtered) > 0) {
|
||||
s3fs::s3_file_delete(files_filtered)
|
||||
cli::cli_alert_success("{.fun process_cran_updates}: Successfully removed {.pkg {basename(files_filtered)}} from S3.")
|
||||
remove_from_metadata(.x)
|
||||
cli::cli_alert_success("{.fun process_cran_updates}: Successfully set {.pkg {basename(files_filtered)}} as 'removed' in metadata table.")
|
||||
} else {
|
||||
cli::cli_alert("{.fun process_cran_updates}: No tarballs found for package {.pkg {.x}} - already removed?")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue