[r] 'Incomplete final line' warning when trying to read a .csv file into R

I got this problem once when I had a single quote as part of the header. When I removed it (i.e. renamed the respective column header from Jimmy's data to Jimmys data), the function returned no warnings.