-
Notifications
You must be signed in to change notification settings - Fork 186
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
Error in doc_parse_raw: Opening and ending tag mismatch: expr line 28 and equal_assign [76] #403
Comments
Could you install |
Indeed |
I'm now getting this error with R-devel on travis, but __not R-current (3.6). Any suggestions? |
@csgillespie Do you have a travis log we could look at or is it a private repo? |
Travis logs and Github Passes under R current, not R future. Fails for other repos. |
@csgillespie had a look at your inteRgrate travis log. OTOH I'm not sure what the problem is. Can I ask why you use FWIW: our logs looked like this when we had issues with |
Sorry, disregard that. I can see the lintr 2 install in your poweRlaw log |
As a minor point, you're installing two differrent versions of lintr when running CI on poweRlaw. The 2.0.0 version when travis works on the |
I can't see any changes in R 3.7 changelog that would affect |
Feel free to play around on the branch - it's just a test branch. I've removed all R files except 1 (https://github.com/csgillespie/poweRlaw/tree/lintr/R) to simplify things |
I ran lint_package() on your lintr branch in (todays release) of R-4.0.0 on windows with lintr 2.0.0, and xmlparsedata=1.0.3, xml2=1.2.2 Debugged both
xml_parse_data returned a string with header containing Note this change to xmlparsedata: r-lib/xmlparsedata#7 The xml header construction should be fixed with current github version of xmlparsedata; suggest you add a install_github for xmlparsedata in your travis.yml |
So I tried that:
Still no luck |
Apologies. That doesn't appear to fix it locally either (and doesn't really explain the R3.6 -> R-devel differences). There's something wrong with how xmlparsedata handles the "expr_or_assign_or_help" tags returned by getParseData. This seems to be an xmlparsedata problem. But we'd need to make a smaller example before sending it to Gabor et al |
All the |
But, when you extract xml from the parsed code without going through lintr, it seems to parse OK.
|
Reopened this issue, although it seems slightly different from the original issue. |
This should be fixed by #455 as well |
In RStudio 1.2.1335 Linux, R 3.6.1:
lintr-bug.R attached.
I had just built lintr from github with packrat. I'm attaching packrat.lock so you can see all package versions involved.
attachments.zip
The text was updated successfully, but these errors were encountered: