When loading a CSV file using fread() the value (bouth "Hendr\"ix" and "Hendr"ix") in one of the columns causes the warning "Found and resolved improper quoting out-of-sample. First healed line 5357994: <>" and upon using fread again the following warning pops up: "Previous fread() session was not cleaned up properly. Cleaned up ok at the beginning of this fread() call." one of this warnings causes the for loop to jump to the next iteration, skipping the remaining lines of code in the for loop.
It is fine that the warning causes some issues when there is no escape character before the double quote but I would like to know if there is a way to prevent this warning when an escape character is in front of the double qoutes. I cannot simply remove the quotes from the CSV file since the code is used to validate the CSV for correctness where having double quotes in a string without escape character is not allowed (thus it is okay when the warning is there when there is no backslash)
Is there anyone who has encountered this or any idea on how to solve this issue?