Update of R package mclust to version 6.1.1 failed in R system updated to 4.4.0 with following error:
- installing source package 'mclust' ...
** package 'mclust' successfully unpacked and MD5 sums checked
** using staged installation
** libs
gfortran -O2 -mfpmath=sse -msse2 -mstackrealign -c dmvnorm.f -o dmvnorm.o
make: gfortran: No such file or directory
make: *** [C:/PROGRA~1/R/R-44~1.0/etc/x64/Makeconf:313: dmvnorm.o] Error 127
ERROR: compilation failed for package 'mclust'- removing 'C:/Larry/R/win-library/4.3/mclust'
- restoring previous 'C:/Larry/R/win-library/4.3/mclust'
Warning in install.packages :
installation of package ‘mclust’ had non-zero exit status
This error appears to be different from the error reported yesterday concerning incompatibility of R 4.4.0 with RStudio, (R.4.4.0 browser() incompatible with RStudio 2023.12.1 · Issue #14590 · rstudio/rstudio · GitHub) as the update of mclust also fails on a native Rgui window, though more gracefully, in that the Rgui simply returns without updating the package.
packageVersion('mclust')
[1] ‘6.1’
update.packages('mclust', type = 'source')
packageVersion('mclust')
[1] ‘6.1’
Running R 4.4.0 (newly updated yesterday), RStudio RStudio 2023.12.1+402 on Windows 11 up to date.
The update of mclust runs correctly on my university research desktop running R 4.3.3.
Larry Hunsicker