Evaluate dots with preliminary splicing
This is a tool for advanced users. It captures dots, processes
unquoting and splicing operators, and evaluates them. Unlike
dots_list()
, it does not flatten spliced objects, instead they
are attributed a spliced
class (see splice()
). You can process
spliced objects manually, perhaps with a custom predicate (see
flatten_if()
).
dots_values( ..., .ignore_empty = c("trailing", "none", "all"), .preserve_empty = FALSE, .homonyms = c("keep", "first", "last", "error"), .check_assign = FALSE )
... |
Arguments to evaluate and process splicing operators. |
.ignore_empty |
Whether to ignore empty arguments. Can be one
of |
.preserve_empty |
Whether to preserve the empty arguments that
were not ignored. If |
.homonyms |
How to treat arguments with the same name. The
default, |
.check_assign |
Whether to check for |
dots <- dots_values(!!! list(1, 2), 3) dots # Flatten the objects marked as spliced: flatten_if(dots, is_spliced)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.