Closed cynthiahqy closed 1 year ago
This is not really a bug. In fact in light of #94 it's actually a good feature
I take that back -- it is annoying when implementing #95 because I can't just check that the xmap argument is of class xmap
-- since it's possible that the weights have been modified -- i.e. need to revalidate the crossmap
When testing
reset_xmap_df()
:This works:
But not if the
mutate
comes afteras_xmap
:This is because dplyr seems to modify the
xmap_df
object, but annoyingly retains the class attributes: