View source: R/tar_option_with.R
tar_option_with | R Documentation |
Locally set target options for the duration of an expression, without permanently modifying the global state.
tar_option_with(expression, ..., envir_with = parent.frame())
expression |
An R expression to run with the local option. |
... |
Named arguments to |
envir_with |
Environment to evaluate |
NULL
(invisibly).
Other configuration:
tar_config_get()
,
tar_config_projects()
,
tar_config_set()
,
tar_config_unset()
,
tar_config_yaml()
,
tar_envvars()
,
tar_option_get()
,
tar_option_reset()
,
tar_option_set()
tar_option_with(
tar_target(data, get_data()),
packages = "dplyr",
cue = tar_cue(mode = "never")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.