Learn R Programming

drake (version 4.2.0)

build_times: Function build_times

Description

List all the build times. This doesn't include the amount of time spent loading and saving objects!

Usage

build_times(path = getwd(), search = TRUE, digits = 0, cache = NULL,
  targets_only = FALSE)

Arguments

path

Root directory of the drake project, or if search is TRUE, either the project root or a subdirectory of the project.

search

logical. If TRUE, search parent directories to find the nearest drake cache. Otherwise, look in the current working directory only.

digits

How many digits to round the times to.

cache

optional drake cache. If supplied, the path and search arguments are ignored.

targets_only

logical, whether to only return the build times of the targets (exclude the imports).

Value

data.frame of times from system.time

See Also

built

Examples

Run this code
# NOT RUN {
load_basic_example()
make(my_plan)
build_times()
# }

Run the code above in your browser using DataLab