
Last chance! 50% off unlimited learning
Sale ends in
make()
.Objects that drake imported, built, or attempted
to build are listed as "finished"
or "in progress"
.
Skipped objects are not listed.
progress(..., list = character(0), no_imported_objects = FALSE,
imported_files_only = logical(0), path = getwd(), search = TRUE,
cache = drake::get_cache(path = path, search = search, verbose = verbose),
verbose = TRUE, jobs = 1)
objects to load from the cache, as names (unquoted)
or character strings (quoted). Similar to ...
in
remove(...)
.
character vector naming objects to be loaded from the
cache. Similar to the list
argument of remove()
.
logical, whether to only return information about imported files and targets with commands (i.e. whether to ignore imported objects that are not files).
logical, deprecated. Same as
no_imported_objects
. Use the no_imported_objects
argument
instead.
Root directory of the drake project,
or if search
is TRUE
, either the
project root or a subdirectory of the project.
If TRUE
, search parent directories
to find the nearest drake cache. Otherwise, look in the
current working directory only.
optional drake cache. See codenew_cache().
If cache
is supplied,
the path
and search
arguments are ignored.
whether to print console messages
number of jobs/workers for parallel processing
The build progress of each target reached by
the current make()
so far.
# NOT RUN {
test_with_dir("Quarantine side effects.", {
load_basic_example() # Get the code with drake_example("basic").
make(my_plan) # Run the project, build the targets.
# Watch the changing progress() as make() is running.
progress() # List all the targets reached so far.
progress(small, large) # Just see the progress of some targets.
progress(list = c("small", "large")) # Same as above.
progress(no_imported_objects = TRUE) # Ignore imported R objects.
})
# }
Run the code above in your browser using DataLab