You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When comparing two objects that are numerically different and have different names, I expect expect_equivalent() to complain about the numeric differences and ignore the names. Instead it reports a difference in the names:
> expect_equivalent(c(foo = 0), 1)
Error: c(foo = 0) not equivalent to 1.
names for target but not for current
> expect_equivalent(c(foo = 0), 0)
The text was updated successfully, but these errors were encountered:
When comparing two objects that are numerically different and have different names, I expect
expect_equivalent()
to complain about the numeric differences and ignore the names. Instead it reports a difference in the names:The text was updated successfully, but these errors were encountered: