Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Undesired trimws in read_fwf #636
Trying to read a fixed width file I find a problem when a character field has just blanks. It becomes NA instead of its original value. The function parse_character seems to do a trimws of the data and then the resulting "" is considered as NA (by default). I dont know weather this is the intended behavior, but in that case it would be nice if read_fwf had a trim_ws parameter as read_delim has, in order to be able to read such fields.