[
function, where a missing argument means to take all indexes on
that dimension. However there is not a good way to replicate
[
's behavior in base R; using list(...)
to
collect all positional arguments will throw errors on missing
arguments. Instead, use x <- list_missing(...)
and
is.missing(x) to detect missing arguments.For ...
objects as made by dots
, performs
this check without forcing evaluation.
dots_missing(...)
list_missing(...)
is.missing(x)
dots_missing
, any number of
arguments, each being checked for missingness, without being evaluated.dots
object,
determines whether each argument is empty or missing.dots_missing
, a logical vector.For list_missing
, a named list of all evaluated
arguments, where any missing arguments are set to
missing_value()
.For is.missing
, a vector of boolean values.