I can reproduce the error installing the last version available only as source.
If you don't need the last version 3.98-1.19, you can install the windows binary using
install.packages("XML", type = "binary")
it will be version 3.98-1.18
I can reproduce the error installing the last version available only as source.
If you don't need the last version 3.98-1.19, you can install the windows binary using
install.packages("XML", type = "binary")
it will be version 3.98-1.18