If I run the following code:
library(dplyr)
data.frame(items=seq(0,1,by = .2))%>%filter(items==.4)
data.frame(items=seq(0,1,by = .2))%>%filter(items==.6)
I get results for the first filtering procedure, but an empty data frame for the second, as if it cannot find an entry that has 0.6. I was in the midst of a complex script when I first found this, so I assumed that it was something in my environment. Nope. I opened a completely new session and typed these three lines in and continued to get the error.
I have a suspicion that my software versions may be at the root of things. I am using R version: R version 4.0.2 (2020-06-22) and dplyr 1.0.3. I do get the warning message: "Warning message:package ‘dplyr’ was built under R version 4.0.3" whenever I load it in, but I really have a hard time believing that dplyr's backwards compatibility is that tenuous.
Any help greatly appreciated.