when I do install.packages() in R, I have an error message like this:
as: unrecognized option '--gdwarf-5'
ERROR: compilation failed for package ‘statmod’
and I think the error comes from the fortran compiler. I would like to change this one as default compiler for R. Actually the one used in R 4.3.0 is:
using Fortran compiler: `‘GNU Fortran (Homebrew GCC 13.1.0) 13.1.0’`
The Ubuntu version I'm using is:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic