going nuts trying to install XML, in Rstudio,on Linux LEAP.
The issue seems to be it cant find key functions in libxml2, libxml, and lz. I have all these packages installed in my system, uptodate, and have provided R with environmental variables to direct to the right location, in my .Renviron file. For example, for libxml2:
All these locations are correct. When trying to install (install.packages("XML")), the command outputs:
Checking directory of LIBXML_INCDIR
Located parser file /usr/include/libxml2/parser.h
Checking for 1.8: /usr/include/libxml2
checking for gzopen in -lz... no
checking for xmlParseFile in -lxml2... no
So it seems to be using the env variable LIBXML_INCDIR correctly, finding my package location correctly, etc. And yet it cant find the required functions.
Any idea would be much appreciated...
Am using R 4.1.2 (latest version available for LEAP) and libxml2 2.9.14 - both should be compatible with XML current version.