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

Wrong test on length(col_names) in fwf_empty() #186

Closed
heavywatal opened this issue Jun 4, 2015 · 0 comments
Closed

Wrong test on length(col_names) in fwf_empty() #186

heavywatal opened this issue Jun 4, 2015 · 0 comments

Comments

@heavywatal
Copy link

@heavywatal heavywatal commented Jun 4, 2015

fwf_empty() fails when col_names is given. I think the line 52 in read_fwf.R is wrong:

    stopifnot(length(out$begin) != length(col_names))

Those lengths should be the same.

@hadley hadley closed this in d314dbd Sep 3, 2015
@lock lock bot locked and limited conversation to collaborators Sep 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant