List the targets that were cancelled in the current or
previous call to make() using cancel() or cancel_if().
Usage
drake_cancelled(cache = drake::drake_cache(path = path), path = NULL)Arguments
- cache
drake cache. See
new_cache(). If supplied,pathis ignored.- path
Path to a
drakecache (usually a hidden.drake/folder) orNULL.
Examples
if (FALSE) { # \dontrun{
isolate_example("contain side effects", {
plan <- drake_plan(x = 1, y = cancel_if(x > 0))
make(plan)
drake_cancelled()
})
} # }