Learn R Programming

drake (version 3.0.0)

status: Function status

Description

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

Usage

status(..., list = character(0), imported_files_only = FALSE,
  path = getwd(), search = TRUE)

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().

imported_files_only

logical, applies only when no targets are specified and the statuses of cached targets are returned. If imported_files_only logical, whether to ignore imported objects that are not files. If TRUE, all targets (with commands in the workflow plan data frame) and imported files will be listed. Otherwise, everything will be listed.

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.

Value

Either the build status of each target given (from the last call to make() or make()), or if no targets are specified, a data frame containing the build status of the last session. In the latter case, only finished targets are listed.

Either a named logical indicating whether the given targets or cached or a character vector listing all cached items, depending on whether any targets are specified

See Also

session, built, imported, readd, plan, make