Closed RobinHankin closed 3 years ago
The problem is in consistent()
:
consistent
<- function(x,y){allsame(x) || allsame(y) || identical(hash(x),hash(y))}`
Specifically, if x
and y
are regular vectors, neither of which are allsame()
, then the last check, viz identical(hash(x),hash(y))
fails because neither x
nor y
is a disord
object.
Look:
The assignment should return an error, as it is undefined. I noticed this when playing with the
mvp
package: