duplicate row.names in FileInput in Shiny

I have a dataset csv upload in Shiny. There are duplicate values in the data which I want to include. But it throws an error stating
non-unique values when setting 'row.names':

Even if I specify row.names=NULL ,I have the same error

presumably this is not a shiny issue its just that you noticed it when doing shiny work.
recommend you make a plain script (non shiny) to read in your csv and understand how things work.
You haven't told us what method you use to read the csv. perhaps using base?
readr has very nice functions for csv reading, perhaps go that way.

Will try using readr package as you mentioned