Migrate to xml2 from XML

I maintain a package that was archived on CRAN, and I want to bring it back. I found a strange error, which I have not clearly identified yet but it might be related to the XML package. So I would like to see if anyone has experiences with migrating a package with a lot of programmatic parsing and encoding of XML from XML to xml2.

The XML package is orphaned on CRAN, so this move is probably a good idea in general. There are some other packages who have completed (though with only small required changes) or planned the switch, see list at https://github.com/r-lib/xml2/issues/246 There is no migration guide yet, so any developer who has done or pondered in this switch, please share your experiences. Thanks!

1 Like