At the end of the last variable there is extra text and the file does not upload, the following error occurs:
Expecting 26 cols, but line 15475 contains text after processing all cols. Try again with fill = TRUE. Another reason could be that fread's logic in distinguishing one or more fields having embedded sep = '' and / or (unescaped) '\ n' characters within unbalanced unescaped quotes has failed. If quote = '' does not help, please file an issue to figure out if the logic could be improved.
As an example, I add a CSV file that generates a similar error
Name,Company,Serving,Calories,Fat,Sodium,Carbs,Fiber,Sugars,Protein
AppleJacks,K,1,117,0.6,143,27,0.5,15,1
Boo Berry,G,1,118,0.8,211,27,0.1,14,1
Cap'n Crunch,Q,0.75,144,2.1,269,31,1.1,16,1.3
Cinnamon Toast, Crunch,G,0.75,169,4.4,408,32,1.7,13.3,2.7
And we load it by:
df <- fread(file="test.csv")