names(iris)[1] <- NA
iris %>% filter(Species=="setosa")
iris %>% arrange(Species)
Both calls give
Error in if (any(names2(x) == "")) {
missing value where TRUE/FALSE needed
and it is not clear that the problem is a column which is not used at all in the method call. It should rather say something like
"Error: Column(s) with missing name(s) in input table. To use dplyr all columns are required to have a name."
The problem seems related to tidyverse/tidyr#68