Error in `select()`: ! Can't subset columns that don't exist. ✖ Column `date` doesn't exist.

Probably because date isn't a column in the dataframe.

You should provide a reproducible example and some explanation instead of a screenshot.