This question is related to and inspired by can't use emmeans inside map
I am doing several steps of data analysis with the following code. I want to keep my grou