Description Usage Arguments Details Value
In order to be build
able, a repository item must have an
associated source file and code chunk.
1 2 3 4 5 6 7 8 | repo_build(
name,
src = NULL,
recursive = T,
force = F,
env = parent.frame(),
built = list()
)
|
name |
Name of an item in the repo. |
src |
Path to a source file containing the code block
associated with the resource. Not necessary if |
recursive |
Build dependencies not already in the repo recursively (T by default). |
force |
Re-build dependencies recursively even if already in the repo (F by default). |
env |
Environment in which to run the code chunk associated with the item to build. Parent environment by default. |
built |
A list of items already built used for recursion (not meant to be passed directly). |
Code chunks are defined as in the following example: “' ## chunk "item 1" x <- code_to_make_x() rp$put(x, "item 1") ## “'
'item 1' must be associated to the source ('src' parameter of 'put') containing the chunk code.
Nothing, used for side effects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.