Cancellation affects only tracked jobs that are still queued or running. It
does not delete project data, logs, or completed outputs. Calling this
function with dry_run = FALSE immediately sends cancellation requests to
the configured scheduler, so preview the commands first.
Arguments
- input
A project configuration object, YAML file, or project directory.
- run_id
Run ID returned by
run_project()or listed ininspect_project(input)$runs. An explicit ID is recommended for cancellation.- dry_run
If
TRUE, report the commands without contacting the scheduler. IfFALSE, request cancellation immediately.
See also
inspect_project() to inspect current job states before
cancellation.