На машине Opensuse я попытался установить пакет "alr3". Не удалось.
введите описание изображения здесь
> install.packages("alr3")
Installing package into ‘/home/by79/R/x86_64-suse-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
also installing the dependencies ‘SparseM’, ‘curl’, ‘minqa’, ‘nloptr’, ‘statmod’, ‘RcppEigen’, ‘pbkrtest’, ‘quantreg’, ‘rio’, ‘lme4’, ‘car’
* installing *source* package ‘SparseM’ ...
** package ‘SparseM’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
gfortran -fno-optimize-sibling-calls -fpic -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -c bckslv.f -o bckslv.o
make: gfortran: Command not found
make: *** [/usr/lib64/R/etc/Makeconf:190: bckslv.o] Error 127
ERROR: compilation failed for package ‘SparseM’
* removing ‘/home/by79/R/x86_64-suse-linux-gnu-library/4.0/SparseM’
Warning in install.packages :
installation of package ‘SparseM’ had non-zero exit status
* installing *source* package ‘curl’ ...
** package ‘curl’ successfully unpacked and MD5 sums checked
** using staged installation
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found
Using PKG_CFLAGS=
Using PKG_LIBS=-lcurl
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because libcurl was not found. Try installing:
* deb: libcurl4-openssl-dev (Debian, Ubuntu, etc)
* rpm: libcurl-devel (Fedora, CentOS, RHEL)
* csw: libcurl_dev (Solaris)
If libcurl is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a libcurl.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
--------------------------------------------------------------------
ERROR: configuration failed for package ‘curl’
* removing ‘/home/by79/R/x86_64-suse-linux-gnu-library/4.0/curl’
Остальное может быть слишком длинным для публикации, но достаточно ли вышеприведенного для некоторых подсказок? Это из-за проблемы с компилятором ... как я могу go исправить это?
Пожалуйста, помогите.