This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Remove / revise definition of xml2 classes #148
Comments
Thanks for reaching out! Since r-lib/xml2#248 is now closed please do submit to CRAN and we'll update sos4R and re-release to CRAN. Or do you need us to make the release first? |
nuest
added a commit
to nuest/sos4R
that referenced
this issue
Jul 29, 2019
Not much information on that warning message out there, but the second link is an excellent resource:
@jimhester I did not foresee this, should have checked with an installation from GitHub first. Solution attempts
Does not work. Try to export the classes in Changes in Installation of sos4R works locally with this change: https://github.com/52North/sos4R/compare/master...nuest:bugfix/xml2-classes?expand=1
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
So currently sos4R sets up the oldClass like
sos4R/R/Class-XML.R
Line 31 in a2f0863
This unfortunately has the inheritance backwards, all
xml_document
objects arexml_node
objects, but not vise versa. And actually there can existxml_document
objects that are notxml_node
objects at all (though this is rare).Unfortunately this conflicts with the definition in sos4R and means that sos4R installation fails with the devel version of xml2.
So either we can
The text was updated successfully, but these errors were encountered: