I want to install the package "ggalt" but I have a problem. Help me
> install.packages("ggalt")
Installing package into ‘/home/madou/R/x86_64-pc-linux-gnu-library/4.2’
(as ‘lib’ is unspecified)
also installing the dependency ‘ash’
trying URL 'https://cloud.r-project.org/src/contrib/ash_1.0-15.tar.gz'
Content type 'application/x-gzip' length 7043 bytes
==================================================
downloaded 7043 bytes
trying URL 'https://cloud.r-project.org/src/contrib/ggalt_0.4.0.tar.gz'
Content type 'application/x-gzip' length 2155519 bytes (2.1 MB)
==================================================
downloaded 2.1 MB
* installing *source* package ‘ash’ ...
** package ‘ash’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
gfortran -fno-optimize-sibling-calls -fpic -g -O2 -ffile-prefix-map=/build/r-base-4xhVZt/r-base-4.2.1=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -c ash.f -o ash.o
/bin/bash: line 1: gfortran: command not found
make: *** [/usr/lib/R/etc/Makeconf:191: ash.o] Error 127
ERROR: compilation failed for package ‘ash’
* removing ‘/home/madou/R/x86_64-pc-linux-gnu-library/4.2/ash’
Warning in install.packages :
installation of package ‘ash’ had non-zero exit status
ERROR: dependency ‘ash’ is not available for package ‘ggalt’
* removing ‘/home/madou/R/x86_64-pc-linux-gnu-library/4.2/ggalt’
Warning in install.packages :
installation of package ‘ggalt’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpAseoAD/downloaded_packages’
I want to install the package "ggalt" but I have a problem. Help me