For some reason when I try to use paste as part of a group_by_ only one of the two elements in the vector that the paste creates gets used as a group_by_ for the summarising on the next line. Is there any way to keep both the "gear_CI" and the "carb_CI" columns? (I realize the purpose of why I'm trying to group_by might not make a lot of sense in this context, but this is just meant to be a reproducible example)
I think this is not working because group_by_() doesn't take vectors as arguments and you are passing ... = "wt", c("gear_CI", "carb_CI"), you could use group_by_at instead.