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
Passing a function that returns a logical vector as the predicate argument to predicate functions can cause unexpected results, as in the example below, from this StackOverflow question.
purrr::every(list(1:10), is.na)
#> [1] TRUE
Perhaps adding a warning message if the predicate evaluates to a logical vector of length > 1 would be appropriate?
The text was updated successfully, but these errors were encountered:
Passing a function that returns a logical vector as the predicate argument to predicate functions can cause unexpected results, as in the example below, from this StackOverflow question.
Perhaps adding a warning message if the predicate evaluates to a logical vector of length > 1 would be appropriate?
The text was updated successfully, but these errors were encountered: