There appears to be two versions of the XML package available via the RStudio Package Manager. Both versions 3.99-0.3 and 3.99-0.8 appear when I search for "XML" i.e. RStudio Package Manager
When installing with install.packages()
or via the pak package it defaults to using the older 3.99-0.3 version. Unfortunately this old version is no longer compatible with R-4.2 and fails to build from source on Ubuntu. Forcing installation of the newer version works, but it doesn't feel like expected behaviour to get an older copy of the package by default.
An example of the installation failure can be found in this Github workflow log
This was then fixed with the following update to explicitly require a newer version of XML (Update XML version requirement · grimbough/biomaRt@bbb10bb · GitHub)
The subsequent log showing the 3.99-0.8 version being used and a successful installation can be seen in this Github action log