Closed egnha closed 7 years ago
Use dot-splicing (rlang::dots_splice()) to simplify the cumbersome argument signature
rlang::dots_splice()
function(f, ..., checklist = list(), error_class = character())
to
function(f, ..., error_class = NULL)
(That is, allow lists of checks to be automatically spliced when included in ....)
...
rlang::dots_splice() won't work, because it uses bare evaluation. Stick to rlang::quos() and rely on explicit splicing semantics (using !!!/UQS()).
rlang::quos()
!!!
UQS()
Use dot-splicing (
rlang::dots_splice()
) to simplify the cumbersome argument signatureto
(That is, allow lists of checks to be automatically spliced when included in
...
.)