The ggplot2 package uses quosures to record aesthetic mappings. These record
both the mapping described as well as the environment in which the mapping
was described. As a result, it is difficult to compare mappings created by
students in one environment to mappings created on the fly by graders in
another environment. identical_aes facilitates comparison by ignoring
the environments associated with an aesthetic mapping specification. If the
two specifications contain identical expressions, e.g. x = displ,
etc., identical_aes returns TRUE.
See also
Other functions for checking mappings:
get_mappings(),
ith_mappings_use(),
ith_mappings(),
uses_mappings()
