I\'ve tried to change the summarise_all() with summarise(across()) equivalent in the first query, but I\'ve got an error.
summarise_all()
summarise(across())