Example Df1
OK BUSY stext
Y N Some text to check
Y N Other text to check
N N Some text to check
Y N Some text to check
Why does this work fine
df1 <- df1 %>% filter(grepl("Y",OK,"N",BUSY))
df1 <- df1 %>% filter(grepl(stext,toupper("Some text to check")))
Result
OK BUSY stext
Y N Some text to check
Y N Some text to check
But this doesnt if I group all the searches together
df1 <- df1 %>% filter(grepl("Y",OK,"N",BUSY,stext,toupper("Some text to check")))
OK BUSY stext
Y N Some text to check
Y N Other text to check
Y N Some text to check