Open brookslogan opened 4 months ago
Sorry for the rewrite, fixed some commit metadata.
Some notes:
min
or max
of two [or maybe more] size-1 vectors. If it's okay to deviate from mirroring base R behavior a bit, it would probably help to add some warnings or errors if ...
is used in other contexts, such as when it seems like pmin
or pmax
might be desired instead. Happy to make these changes; please let me know if they belong.
Resolves #1372.
Only call
vec_c(x, ...)
if dots are nonempty, in order to stay fast in the empty case.