View source: R/extension-utils.R
update_settings | R Documentation |
Uses ellipsis parameter to update a list of default settings.
update_settings(default, ...)
default |
named list of default values for settings. |
... |
optional settings values to override the default settings. |
The updated list of settings with updated values.
Other developer functions:
crossref_description()
,
generic_implementations()
,
load_packages()
,
valid_pkgname()
foo = function(...) { default = list(a=1) settings = update_settings(default, ...) } ## Not run: foo(a=2, b=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.