I have created a shiny app which uploads two csv files and uses them to create a new data frame which is then written to a csv file and downloaded. It works fine on my mac. I deployed it to my shiny server (Ubuntu 16.04.5) and it appeared to be running fine. Both csv files uploaded and displayed correctly. When I try to use the two to create the new data.frame, the app disconnects from the server. As I said, it works fine locally although when uploading the second of the two csv files, this warning appears:
Warning in read.table(file = file, header = header, sep = sep, quote = quote, :
incomplete final line found by readTableHeader on '/var/folders/t7/h4t8x5ss2rj57725nb42rs480000gn/T//Rtmp7SBJu3/2baf342658c4c58d3ee8b452/0.csv'
I have looked at the various threads around this issue but haven't seen anything exactly like this.