All-NA argument in coalesce
throws error unless all other arguments are type logical
#3619
Labels
coalesce
throws error unless all other arguments are type logical
#3619
Since the default type of
NA
islogical
andcoalesce
callscheck_type
, if one argument isNA
thencoalesce
will throw an error.If this error is intentional, I can write a PR with a test to expect this error. If it's not, I can write a PR to skip type checking for all-NA arguments.
The text was updated successfully, but these errors were encountered: