Learn R Programming

drake (version 4.2.0)

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 = NULL)

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.

Value

A character vector of target names

See Also

session, built, imported, readd, plan, make

Examples

Run this code
# NOT RUN {
load_basic_example()
make(my_plan)
in_progress() # nothing
bad_plan = plan(x = function_doesnt_exist())
make(bad_plan) # error
in_progress() # "x"
# }

Run the code above in your browser using DataLab