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

deals with xml2 >= 1.2.0 change #1525

Merged
merged 1 commit into from
Mar 15, 2018
Merged

deals with xml2 >= 1.2.0 change #1525

merged 1 commit into from
Mar 15, 2018

Conversation

cderv
Copy link
Collaborator

@cderv cderv commented Mar 14, 2018

In version xml2 1.2.0, there is a breaking change in the structure returned by as_list. The root node is now return that adds one more level on top.

This PR deals with that by

  • adding a minimal version to xml2 suggests
  • dealing with the breaking change if xml2 version is >= 1.2.0

this fixes #1523.

I did not had a bullet to NEWS for this small change.


This change is Reviewable

In version xml2 1.2.0, there is a breaking change in the structure returned by as_list. The root node is now return that adds one more level on top.
@cderv
Copy link
Collaborator Author

cderv commented Mar 14, 2018

@jennybc This should also deal with tidyverse/reprex#170 for all version of xml2.

Copy link
Owner

@yihui yihui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect. Thanks a lot!

@yihui yihui added this to the v1.21 milestone Mar 15, 2018
@yihui yihui merged commit 03b6e40 into yihui:master Mar 15, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

needs to import xml2 > 1.2.0 for imgur_upload
2 participants