You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let the user know about mismatches in input-vector lengths. Related to #28.
Use {cli} and ... approach as per #50 to accept the length of any number of arguments, check them for length and report back to the user. Will likely need to be a tryCatch() to suppress the default R message and replace with our own.
We're doing this to provide a nicer user-interface. The default warning is terse:
Let the user know about mismatches in input-vector lengths. Related to #28.
Use {cli} and
...
approach as per #50 to accept the length of any number of arguments, check them for length and report back to the user. Will likely need to be atryCatch()
to suppress the default R message and replace with our own.We're doing this to provide a nicer user-interface. The default warning is terse:
And it prints multiple times with multiple violations:
It's probably fine not to warn when one of the arguments is length 1, though. There's no warning for this in base either.
The text was updated successfully, but these errors were encountered: