trying to upload csv data on shiny app

This is a different question, I think you should ask it on a new topic providing a proper reproducible example, relevant for the issue.