First of all, seems like you are installing packages with R 4.4.x into a library that you use (or used?) with R 4.3.x. Don't do that, it is going to fail in various ways. You need to use separate libraries for R 4.3.x and R 4.4.x.
Second,
make: gfortran: No such file or directory
means that you don't have a gfortran
compiler installed, which on Windows means that you don't have Rtools 4.4 installed. If you compile packages from source, you need to install Rtools, a version that is appropriate for your R version. R 4.4.x needs Rtools 4.4 currently, install it from here: RTools: Toolchains for building R and R packages from source on Windows