Update of package RGtk2 to version 220.127.116.11, evidently needed to update package cairoDevice, failed on my Windows 10 desktop with the output listed below. I have had this problem previously, resolved when the compiled version of the update became available from CRAN. It has now been almost a week since the posting of the source version. This is a longer than usual delay in posting the compiled version. Is there an alternative way to install the RGtk2 update? Alternatively, any idea when the compiled version will be posted on CRAN?
Running R 4.1.1, RStudio 2021.09.0 Build 351, on Windows 10 64 bit fully updated.
Thanks in advance for any suggestions.
- installing source package 'RGtk2' ...
** package 'RGtk2' successfully unpacked and MD5 sums checked
** using staged installation
"C:/rtools40/mingw64/bin/"gcc -I"C:/PROGRA~1/R/R-41~1.1/include" -DNDEBUG -D_R_=1 -DUSE_R=1 -mms-bitfields -I/include/gtk-2.0 -I/lib/gtk-2.0/include -I/include/atk-1.0 -I/include/cairo -I/include/pango-1.0 -I/include/glib-2.0 -I/lib/glib-2.0/include -I/include/libxml2 -I/include/gdk-pixbuf-2.0 -I/include -I. -DR_LEGACY_S_DEFS=1 -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c RGtkDataFrame.c -o RGtkDataFrame.o
In file included from ./RGtk2/atk.h:4,
./RGtk2/gobject.h:7:10: fatal error: glib.h: No such file or directory
make: *** [C:/PROGRA~1/R/R-41~1.1/etc/x64/Makeconf:238: RGtkDataFrame.o] Error 1
ERROR: compilation failed for package 'RGtk2'
- removing 'C:/Larry/R/win-library/4.1/RGtk2'
- restoring previous 'C:/Larry/R/win-library/4.1/RGtk2'
Warning in install.packages :
installation of package ‘RGtk2’ had non-zero exit status