Going long to wide with multiple variables based on

Those are some weird errors to see with that code. Maybe start a new R session and construct a reproducible example.

2 Likes