Here is an example illustrating the desired Out, which currently gives all T
Eg <- tibble("A"= c("A","B", "C"),
"Number" = 1:3,
"Lists" = c(tibble(A=c(1,5)),tibble(A=1),tibble(B=2)))
Out <- Eg%>%
mutate(New= case_when(length(Lists)==2~F,
T~T))
#My desired Out would be
print(Out$New)
F T T