Function consistent()
checks that its arguments have the same
hash code, and thus their elements can be paired up (e.g. added).
Idiom a %~% b
is equivalent to consistent(a,b)
.
The package generally checks for consistency with function
check_matching_hash()
which provides some helpful diagnostics
if consistent()
finds a hash mismatch.