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
{{ message }}
Repository navigation
Fix test() function so that it can distinguish NA from NaN #2365
I know this was my suggestion to change test(), but thinking about it, have now just added identical() into the test() calls in this rare case (PR #2363) where we care about NaN/NA differences. Changing test() to no longer use all.equal() (which considers NA and NaN equal) will be too much work for little benefit. Passing identical() to test() when we need that, should be fine.
The following simple test currently passes, whereas it should not