drake_cancelled {drake} | R Documentation |
List cancelled targets.
Description
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 |
path |
Path to a |
Value
A character vector of target names.
See Also
drake_running()
, drake_failed()
, make()
Examples
## Not run:
isolate_example("contain side effects", {
plan <- drake_plan(x = 1, y = cancel_if(x > 0))
make(plan)
drake_cancelled()
})
## End(Not run)
[Package drake version 7.13.10 Index]