View source: R/outpack_config.R
| orderly_config_set | R Documentation |
Set configuration options. Not all can currently be set; this will be expanded over time. See Details.
orderly_config_set(..., options = list(...), root = NULL)
... |
Named options to set (e.g., pass the argument
|
options |
As an alternative to |
root |
The path to the root directory, or |
Options are set in the order that they are provided. Currently, if setting one option fails, no further options will be processed but previous ones will be (do not rely on this behaviour, it may change).
Currently you can set:
core.require_complete_tree
See orderly_init() for description of these options.
Nothing
orderly_config
# The default configuration does not include a file store, and
# saves output within the "archive" directory:
path <- withr::local_tempdir()
orderly_init(path)
fs::dir_tree(path, all = TRUE)
# Change this after the fact:
orderly_config_set(core.use_file_store = TRUE,
core.path_archive = NULL,
root = path)
fs::dir_tree(path, all = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.