Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
crash if file does not have a trailing newline #40
That is an error message, not a crash, for vroom to read them files must end in a newline. And actually by POSIX definition files must end with a newline to be a proper file.
I realize that Windows is not POSIX, but the way the vroom code works the file really does need to end with a newline.
what do about automatically (controlled via a parameter) adding a newline to the end of a file if it doesn't have one? Otherwise, I imagine many people using this workaround in their own code (I have a csv file from Excel that doesn't end in a newline so that might be quite a common problem...).