Open olivroy opened 1 month ago
I agree. However allow_empty
would be confusing since for check_string()
. allow_empty = FALSE
is meant to disallow ""
.
I like the length
argument. maybe min_length
would be good?
the proposed scalar
option would be redundant since check_string()
is already there.
Sometimes you want something non-empty.
allow_zero = FALSE
will disallowcharacter(0)
. Addresses https://github.com/r-lib/rlang/issues/1618#issuecomment-2127898009