rmflight,
@rmflight@mastodon.social avatar

Did something change in 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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • slotface
  • kavyap
  • thenastyranch
  • everett
  • tacticalgear
  • rosin
  • Durango
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • InstantRegret
  • Youngstown
  • khanakhh
  • ethstaker
  • JUstTest
  • ngwrru68w68
  • cisconetworking
  • modclub
  • tester
  • osvaldo12
  • cubers
  • GTA5RPClips
  • normalnudes
  • Leos
  • provamag3
  • anitta
  • megavids
  • lostlight
  • All magazines