suddenly a doubt...
is there any difference between testing isTRUE(all.equal(x, y))
and identical(x, y)
?
the help page says:
Don't use 'all.equal' directly in 'if' expressions-either use 'isTRUE(all.equal(....))' or 'identical' if appropriate.
but that "if appropriate" leaves me in doubt. how do I decide which of the two is appropriate?