Use 'checkIdentical' rather than 'checkEquals'

This is a more appropriate expression of intent -- we want to check that we retrieve the exact same environment, not a different environment that happens to be equal to another.

This fixes `R CMD check` errors for me with R-devel.