drake_build {drake} | R Documentation |
Build/process a single target or import.
Description
Not valid for dynamic branching.
Usage
drake_build(
target,
...,
meta = NULL,
character_only = FALSE,
replace = FALSE,
config = NULL
)
Arguments
target |
Name of the target. |
... |
Arguments to |
meta |
Deprecated. |
character_only |
Logical, whether |
replace |
Logical. If |
config |
Deprecated 2019-12-22. |
Value
The value of the target right after it is built.
See Also
Examples
## Not run:
isolate_example("Quarantine side effects.", {
if (suppressWarnings(require("knitr"))) {
# This example is not really a user-side demonstration.
# It just walks through a dive into the internals.
# Populate your workspace and write 'report.Rmd'.
load_mtcars_example() # Get the code with drake_example("mtcars").
out <- drake_build(small, my_plan)
# Now includes `small`.
cached()
head(readd(small))
# `small` was invisibly returned.
head(out)
}
})
## End(Not run)
[Package drake version 7.13.10 Index]