Skip to content
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

Skipping columns gives incorrect col names in problems #573

Closed
ajdamico opened this issue Jan 11, 2017 · 1 comment
Closed

Skipping columns gives incorrect col names in problems #573

ajdamico opened this issue Jan 11, 2017 · 1 comment

Comments

@ajdamico
Copy link
Contributor

@ajdamico ajdamico commented Jan 11, 2017

hi, thanks for readr. here's an example of a problems(...) warning that i am not sure should be triggered?

(reprex elided now we have a shorter one)

@hadley
Copy link
Member

@hadley hadley commented Jan 17, 2017

Thanks. That leads to something even simpler:

library(readr)

st <- fwf_widths(c(2, 2, 2))
problems(read_fwf("aabbcc\n", st, col_types = "_dc"))

Loading

@hadley hadley changed the title expected "no trailing characters" actual "-1-1" problems() report that does not match result Skipping columns leads to incorrect col names in problems Jan 20, 2017
@hadley hadley changed the title Skipping columns leads to incorrect col names in problems Skipping columns gives incorrect col names in problems Jan 20, 2017
jimhester added a commit that referenced this issue Jan 27, 2017
* #573 tests and fix

* News updated reflecting #573 fix
@jimhester jimhester closed this Jan 31, 2017
@lock lock bot locked and limited conversation to collaborators Sep 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants