Skip to content

Commit

Permalink
filter: fix bug when passing a vector in RHS of %in%
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennebacher committed Aug 14, 2023
1 parent e13f906 commit 5c35651
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/utils-expr.R
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ translate_expr <- function(.data, quo) {
{
lhs <- translate(expr[[2]])
rhs <- translate(expr[[3]])
if (is.list(rhs)) {
rhs <- unlist(rhs)
}
lhs$is_in(rhs)
},
error = identity
Expand Down

0 comments on commit 5c35651

Please sign in to comment.