There are multiple references in documentation and elsewhere for the parameter comment.char, which does not exist.
Example:
csvtxt="col1,col2,col3,col4,col5,col6,col7,col8
32000,13,34200021740.191,A,XXX,1077749249,900,49.6
32000,55,34200031221.171,A,YYY,22552583169,100,178.67
32000,12,
32000,49,34200040500.787,A,ZZZ,17183877121,41,40.94"
fread(text=csvtxt)
Warning message:
In fread(text = csvtxt) :
Stopped early on line 4. Expected 8 fields but found 3. Consider fill=TRUE and comment.char=. First discarded non-empty line: <<32000,12,>>