Error in Tukey HSD test when Im trying to assign significant difference letters

Hi, could you repost your reproducible example, called a reprex with the required libraries, please? If the bpdata and familia objects are what you're trying to graph, it would also help to move those to the front.

In general, it's easiest to give helpful answers when you can cut-and-past the reprex and reproduce the problem without tracking down not found errors.

Thanks.