Delete one or more hipercow task bundles. Note that this does not delete the underlying tasks, which is not yet supported.
Examples
cleanup <- hipercow_example_helper()
#> ℹ This example uses a special helper
bundle <- task_create_bulk_expr(sqrt(x), data.frame(x = 1:5))
#> ✔ Submitted 5 tasks using 'example'
#> ✔ Created bundle 'raging_llama' with 5 tasks
hipercow_bundle_list()
#> name time
#> 1 raging_llama 2024-10-08 15:24:38
# Retaining the ids, delete bundle
ids <- bundle$ids
hipercow_bundle_delete(bundle$name)
hipercow_bundle_list()
#> [1] name time
#> <0 rows> (or 0-length row.names)
# The tasks still exist:
task_status(ids)
#> [1] "submitted" "submitted" "submitted" "submitted" "submitted"
cleanup()
#> ℹ Cleaning up example