in_progress: Function in_progress
Description
List the targets that either
(1) are currently being built if make()
is running, or
(2) were in the process of being built if the previous call to
make()
quit unexpectedly.
Usage
in_progress(path = getwd(), search = TRUE, cache = drake::get_cache(path =
path, search = search, verbose = verbose), verbose = TRUE)
Arguments
path
Root directory of the drake project,
or if search
is TRUE
, either the
project root or a subdirectory of the project.
search
If TRUE
, search parent directories
to find the nearest drake cache. Otherwise, look in the
current working directory only.
cache
optional drake cache. See codenew_cache().
If cache
is supplied,
the path
and search
arguments are ignored.
verbose
whether to print console messages
Value
A character vector of target names
Examples
Run this code# NOT RUN {
load_basic_example()
make(my_plan) # Kill before targets finish.
in_progress()
# }
Run the code above in your browser using DataLab