For instance, if user put a random png file as input, no error is raised:
dt <- fread("https://raw.githubusercontent.com/wiki/Rdatatable/data.table/icons/sticker.png")
We get:
Warning message:
In fread("https://raw.githubusercontent.com/wiki/Rdatatable/data.table/icons/sticker.png") :
Stopped early on line 3. Expected 1 fields but found 1. Consider fill=TRUE and comment.char=. First discarded non-empty line: <<>>
We even get a data table:
Note sure I should, but I would expect failure instead.
For instance, if user put a random png file as input, no error is raised:
We get:
We even get a data table:
Note sure I should, but I would expect failure instead.