Learn R Programming

drake (version 4.2.0)

progress: Function progress

Description

Get the build progress (overall or individual targets) of the last call to make(). Objects that drake imported, built, or attempted to build are listed as "finished" or "in progress". Skipped objects are not listed.

Usage

progress(..., list = character(0), no_imported_objects = FALSE,
  imported_files_only = logical(0), path = getwd(), search = TRUE,
  cache = NULL)

Arguments

...

objects to load from the cache, as names (unquoted) or character strings (quoted). Similar to ... in remove(...).

list

character vector naming objects to be loaded from the cache. Similar to the list argument of remove().

no_imported_objects

logical, whether to only return information about imported files and targets with commands (i.e. whether to ignore imported objects that are not files).

imported_files_only

logical, deprecated. Same as no_imported_objects. Use the no_imported_objects argument instead.

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

Statuses of targets

See Also

session, built, imported, readd, plan, make

Examples

Run this code
# NOT RUN {
load_basic_example()
make(my_plan)
progress()
progress(small, large)
progress(list = c("small", "large"))
progress(no_imported_objects = TRUE)
# }

Run the code above in your browser using DataLab