It seems your Box_table_total
is not a simple data.frame. It seems to contains some special columns. Can you share your data ?
Could you ask this with a minimal REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.