When filter_out() is given no args it removes all rows from the input, rather than returning the input unchanged (like filter() does).
df <- data.frame(x = 1:2, y = 1:2)
df |> dplyr::filter()
#> x y
#> 1 1 1
#> 2 2 2
df |> dplyr::filter_out()
#> [1] x y
#> <0 rows> (or 0-length row.names)
Created on 2026-09-07 with reprex v2.1.1
When
filter_out()is given no args it removes all rows from the input, rather than returning the input unchanged (likefilter()does).Created on 2026-09-07 with reprex v2.1.1