rmflight, Did something change in #RStats recently (last couple of years) for comparing two logical vectors?
I'm pretty sure this used to work, and return the expected single value logical:
v1 = c(TRUE, FALSE) v2 = c(TRUE, TRUE) v1 == v2 # FALSE
Now I have to do:
identical(v1, v2)
Like, I'm going to be checking all of my package code to check for logical comparisons using
==
, because it's definitely not doing what I expect anymore.
Add comment