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

Suboptimal error message for zero-length character vectors #212

Closed
hadley opened this issue Mar 1, 2018 · 0 comments
Labels
bug

Comments

@hadley
Copy link
Member

@hadley hadley commented Mar 1, 2018

xml2::read_xml(character())
#> Error in if (grepl("<|>", x)) {: argument is of length zero

Created on 2018-03-01 by the reprex package
(0.1.1.9000)
.

@jimhester jimhester added the bug label Mar 9, 2018
@jimhester jimhester closed this in d81b197 Jul 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.