-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Columns are read even if not mentioned in col_types in read_tsv #132
Comments
A workaround is to define
and to use it as
|
Oops, yes, that's a documentation error. See also #72 |
Ok. IMHO: if it'd work as documented, I think it'd be neat. |
That's what I had originally planned, but it's a huge pain if you just want to adjust the type of one column. That seems to be more common in practice - but I think it should be possible to have a solution where you just replace |
Is there some |
That seems like a good idea. |
From ?read_tsv:
Bug reproduction steps
Expected result
Observed result
Sidenote:
read_tsv("1\t2\n3\t4\n",col_names=c("X","Y"),col_types=c("i_"))
yields the correct result.The text was updated successfully, but these errors were encountered: