Displaying 1 result from an estimated 1 matches for "equalnumeric".
2003 Jan 20
0
UseMethod change; isas-tests; all.equal
...first 0 components >"
[5] "target is matrix, current is character"
The fix seems to be to check is.numeric(current),etc. in each of the
"methods", unless someone has a better suggestion. An alternative would
renaming all.equal.numeric to all.equalNumeric, etc., but that seems
likely to break somebody's code.
Thoughts??
2. But the isas-tests seem basically flawed.
Many of the differences in the output come from tests such as
f <- as.data.frame.POSIXct( x ); all.equal(f, as.data.frame.POSIXct(
f ), tol=0)
This and many more seem as if t...