List the targets that were cancelled in the current or previous call to make() using cancel() or cancel_if().

drake_cancelled(cache = drake::drake_cache(path = path), path = NULL)

Arguments

cache

drake cache. See new_cache(). If supplied, path is ignored.

path

Path to a drake cache (usually a hidden .drake/ folder) or NULL.

Value

A character vector of target names.

See also

Examples

if (FALSE) { isolate_example("contain side effects", { plan <- drake_plan(x = 1, y = cancel_if(x > 0)) make(plan) drake_cancelled() }) }