Description Usage Arguments Value Note See Also Examples
Merges variable length ellipsis arguments to a function with a list argument.
1 2 3 4 5 6 | merge_dots_with_list(
...,
l = list(),
warn_on_dupes = TRUE,
allow_unnamed_elements = FALSE
)
|
... |
Some inputs. |
l |
A list. |
warn_on_dupes |
|
allow_unnamed_elements |
|
A list containing the merged inputs.
If any arguments are present in both the ...
and l
arguments, the ...
version takes preference, and a warning is thrown.
1 2 3 4 5 6 | merge_dots_with_list(
foo = 1,
bar = 2,
baz = 3,
l = list(foo = 4, baz = 5, quux = 6)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.