Clean up old jobs from registry
registry_clean.RdRemove completed or failed jobs from the registry to save space.
Examples
# \donttest{
# Remove completed jobs older than 7 days
registry_clean(older_than = 7, status = "COMPLETED")
#> Registry not found: /tmp/RtmpfPLhwl/parade-registry
#> No jobs to clean
#> [1] 0
# Dry run to see what would be removed
registry_clean(older_than = 30, dry_run = TRUE)
#> Registry not found: /tmp/RtmpfPLhwl/parade-registry
#> No jobs to clean
#> [1] 0
# }