drake_progress | R Documentation |
Objects that drake imported, built, or attempted
to build are listed as "done"
or "running"
.
Skipped objects are not listed.
drake_progress(
...,
list = character(0),
cache = drake::drake_cache(path = path),
path = NULL,
progress = NULL
)
... |
Objects to load from the cache, as names (unquoted)
or character strings (quoted). If the |
list |
Character vector naming objects to be loaded from the
cache. Similar to the |
cache |
drake cache. See |
path |
Path to a |
progress |
Character vector for filtering the build progress results.
Defaults to |
The build progress of each target reached by
the current make()
so far.
diagnose()
, drake_get_session_info()
,
cached()
, readd()
, drake_plan()
, make()
## Not run:
isolate_example("Quarantine side effects.", {
if (suppressWarnings(require("knitr"))) {
load_mtcars_example() # Get the code with drake_example("mtcars").
make(my_plan) # Run the project, build the targets.
# Watch the changing drake_progress() as make() is running.
drake_progress() # List all the targets reached so far.
drake_progress(small, large) # Just see the progress of some targets.
drake_progress(list = c("small", "large")) # Same as above.
}
})
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.