Two cubes are defined to be equal via ==
if they are the same except perhaps for
a recoloring. This means that the permutation and orientation components are the
same but the spatial orientation component may be different.
Two cubes are defined to be the same via all.equal
if and only if one cube is equal
to the other following any of the 24 rotations of the whole cube (including
the no rotation case).
For testing if two cubes are exactly identical, you can use the R function
identical
, however the cubes must be of the same type; either both cubieCubes
or both stickerCubes.