r-lib / devtools

Tools to make an R developer's life easier
https://devtools.r-lib.org
Other
2.37k stars 755 forks source link

Can't install any package on Rstudio, including devtools #2511

Closed ShevchenkoAlla closed 1 year ago

ShevchenkoAlla commented 1 year ago

Hello everybody! I have to reinstall Ubuntu and also Rstudio. After that, I can't install any packages, at all. Here are some details

sessionInfo() R version 4.2.3 (2023-03-15) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 20.04.6 LTS

Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0 LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0

locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=ru_RU.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=ru_RU.UTF-8 [6] LC_MESSAGES=en_US.UTF-8 LC_PAPER=ru_RU.UTF-8 LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=ru_RU.UTF-8 LC_IDENTIFICATION=C

attached base packages: [1] stats graphics grDevices utils datasets methods base

other attached packages: [1] BiocManager_1.30.20

loaded via a namespace (and not attached): [1] compiler_4.2.3 tools_4.2.3

BiocManager::install("devtools") 'getOption("repos")' replaces Bioconductor standard repositories, see 'help("repositories", package = "BiocManager")' for details. Replacement repositories: CRAN: https://cloud.r-project.org/ Bioconductor version 3.16 (BiocManager 1.30.20), R 4.2.3 (2023-03-15) Installing package(s) 'devtools' also installing the dependencies ‘fastmap’, ‘httpuv’, ‘fontawesome’, ‘sourcetools’, ‘later’, ‘promises’, ‘sass’, ‘jquerylib’, ‘systemfonts’, ‘textshaping’, ‘cachem’, ‘shiny’, ‘htmltools’, ‘bslib’, ‘digest’, ‘downlit’, ‘ragg’, ‘rmarkdown’, ‘xml2’, ‘htmlwidgets’, ‘stringr’, ‘stringi’, ‘usethis’, ‘fs’, ‘memoise’, ‘miniUI’, ‘pkgdown’, ‘pkgload’, ‘profvis’, ‘rcmdcheck’, ‘roxygen2’, ‘rversions’, ‘testthat’, ‘urlchecker’

trying URL 'https://cloud.r-project.org/src/contrib/fastmap_1.1.1.tar.gz' Content type 'application/x-gzip' length 46412 bytes (45 KB) downloaded 45 KB

trying URL 'https://cloud.r-project.org/src/contrib/httpuv_1.6.9.tar.gz' Content type 'application/x-gzip' length 1875081 bytes (1.8 MB) downloaded 1.8 MB

trying URL 'https://cloud.r-project.org/src/contrib/fontawesome_0.5.1.tar.gz' Content type 'application/x-gzip' length 1276983 bytes (1.2 MB) downloaded 1.2 MB

trying URL 'https://cloud.r-project.org/src/contrib/sourcetools_0.1.7-1.tar.gz' Content type 'application/x-gzip' length 24095 bytes (23 KB) downloaded 23 KB

trying URL 'https://cloud.r-project.org/src/contrib/later_1.3.0.tar.gz' Content type 'application/x-gzip' length 63785 bytes (62 KB) downloaded 62 KB

trying URL 'https://cloud.r-project.org/src/contrib/promises_1.2.0.1.tar.gz' Content type 'application/x-gzip' length 3120504 bytes (3.0 MB) downloaded 3.0 MB

trying URL 'https://cloud.r-project.org/src/contrib/sass_0.4.5.tar.gz' Content type 'application/x-gzip' length 3026825 bytes (2.9 MB) downloaded 2.9 MB

trying URL 'https://cloud.r-project.org/src/contrib/jquerylib_0.1.4.tar.gz' Content type 'application/x-gzip' length 520207 bytes (508 KB) downloaded 508 KB

trying URL 'https://cloud.r-project.org/src/contrib/systemfonts_1.0.4.tar.gz' Content type 'application/x-gzip' length 81757 bytes (79 KB) downloaded 79 KB

trying URL 'https://cloud.r-project.org/src/contrib/textshaping_0.3.6.tar.gz' Content type 'application/x-gzip' length 35722 bytes (34 KB) downloaded 34 KB

trying URL 'https://cloud.r-project.org/src/contrib/cachem_1.0.7.tar.gz' Content type 'application/x-gzip' length 26206 bytes (25 KB) downloaded 25 KB

trying URL 'https://cloud.r-project.org/src/contrib/shiny_1.7.4.tar.gz' Content type 'application/x-gzip' length 2476288 bytes (2.4 MB) downloaded 2.4 MB

trying URL 'https://cloud.r-project.org/src/contrib/htmltools_0.5.5.tar.gz' Content type 'application/x-gzip' length 131880 bytes (128 KB) downloaded 128 KB

trying URL 'https://cloud.r-project.org/src/contrib/bslib_0.4.2.tar.gz' Content type 'application/x-gzip' length 4830133 bytes (4.6 MB) downloaded 4.6 MB

trying URL 'https://cloud.r-project.org/src/contrib/digest_0.6.31.tar.gz' Content type 'application/x-gzip' length 163502 bytes (159 KB) downloaded 159 KB

trying URL 'https://cloud.r-project.org/src/contrib/downlit_0.4.2.tar.gz' Content type 'application/x-gzip' length 37039 bytes (36 KB) downloaded 36 KB

trying URL 'https://cloud.r-project.org/src/contrib/ragg_1.2.5.tar.gz' Content type 'application/x-gzip' length 427859 bytes (417 KB) downloaded 417 KB

trying URL 'https://cloud.r-project.org/src/contrib/rmarkdown_2.21.tar.gz' Content type 'application/x-gzip' length 2121971 bytes (2.0 MB) downloaded 2.0 MB

trying URL 'https://cloud.r-project.org/src/contrib/xml2_1.3.3.tar.gz' Content type 'application/x-gzip' length 283965 bytes (277 KB) downloaded 277 KB

trying URL 'https://cloud.r-project.org/src/contrib/htmlwidgets_1.6.2.tar.gz' Content type 'application/x-gzip' length 867472 bytes (847 KB) downloaded 847 KB

trying URL 'https://cloud.r-project.org/src/contrib/stringr_1.5.0.tar.gz' Content type 'application/x-gzip' length 175699 bytes (171 KB) downloaded 171 KB

trying URL 'https://cloud.r-project.org/src/contrib/stringi_1.7.12.tar.gz' Content type 'application/x-gzip' length 7602365 bytes (7.3 MB) downloaded 7.3 MB

trying URL 'https://cloud.r-project.org/src/contrib/usethis_2.1.6.tar.gz' Content type 'application/x-gzip' length 342349 bytes (334 KB) downloaded 334 KB

trying URL 'https://cloud.r-project.org/src/contrib/fs_1.6.1.tar.gz' Content type 'application/x-gzip' length 1185417 bytes (1.1 MB) downloaded 1.1 MB

trying URL 'https://cloud.r-project.org/src/contrib/memoise_2.0.1.tar.gz' Content type 'application/x-gzip' length 17852 bytes (17 KB) downloaded 17 KB

trying URL 'https://cloud.r-project.org/src/contrib/miniUI_0.1.1.1.tar.gz' Content type 'application/x-gzip' length 97958 bytes (95 KB) downloaded 95 KB

trying URL 'https://cloud.r-project.org/src/contrib/pkgdown_2.0.7.tar.gz' Content type 'application/x-gzip' length 871465 bytes (851 KB) downloaded 851 KB

trying URL 'https://cloud.r-project.org/src/contrib/pkgload_1.3.2.tar.gz' Content type 'application/x-gzip' length 76704 bytes (74 KB) downloaded 74 KB

trying URL 'https://cloud.r-project.org/src/contrib/profvis_0.3.7.tar.gz' Content type 'application/x-gzip' length 142546 bytes (139 KB) downloaded 139 KB

trying URL 'https://cloud.r-project.org/src/contrib/rcmdcheck_1.4.0.tar.gz' Content type 'application/x-gzip' length 73522 bytes (71 KB) downloaded 71 KB

trying URL 'https://cloud.r-project.org/src/contrib/roxygen2_7.2.3.tar.gz' Content type 'application/x-gzip' length 279442 bytes (272 KB) downloaded 272 KB

trying URL 'https://cloud.r-project.org/src/contrib/rversions_2.1.2.tar.gz' Content type 'application/x-gzip' length 42135 bytes (41 KB) downloaded 41 KB

trying URL 'https://cloud.r-project.org/src/contrib/testthat_3.1.7.tar.gz' Content type 'application/x-gzip' length 710951 bytes (694 KB) downloaded 694 KB

trying URL 'https://cloud.r-project.org/src/contrib/urlchecker_1.0.1.tar.gz' Content type 'application/x-gzip' length 13340 bytes (13 KB) downloaded 13 KB

trying URL 'https://cloud.r-project.org/src/contrib/devtools_2.4.5.tar.gz' Content type 'application/x-gzip' length 374718 bytes (365 KB) downloaded 365 KB

installing source package ‘fastmap’ ... package ‘fastmap’ successfully unpacked and MD5 sums checked using staged installation libs g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -Ilib/ -DR_NO_REMAP -fpic -g -O2 -fdebug-prefix-map=/build/r-base-MkHsSu/r-base-4.2.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c fastmap.cpp -o fastmap.o /bin/bash: g++: command not found make: [/usr/lib/R/etc/Makeconf:178: fastmap.o] Error 127 ERROR: compilation failed for package ‘fastmap’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/fastmap’ installing source package ‘sourcetools’ ... package ‘sourcetools’ successfully unpacked and MD5 sums checked using staged installation libs g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -I../inst/include -fpic -g -O2 -fdebug-prefix-map=/build/r-base-MkHsSu/r-base-4.2.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c Reader.cpp -o Reader.o /bin/bash: g++: command not found make: [/usr/lib/R/etc/Makeconf:178: Reader.o] Error 127 ERROR: compilation failed for package ‘sourcetools’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/sourcetools’ installing source package ‘later’ ... package ‘later’ successfully unpacked and MD5 sums checked using staged installation Running configure script -latomic linker flag not needed. libs g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -I'/usr/lib/R/site-library/Rcpp/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-MkHsSu/r-base-4.2.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c RcppExports.cpp -o RcppExports.o /bin/bash: g++: command not found make: [/usr/lib/R/etc/Makeconf:178: RcppExports.o] Error 127 ERROR: compilation failed for package ‘later’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/later’ installing source package ‘systemfonts’ ... package ‘systemfonts’ successfully unpacked and MD5 sums checked using staged installation Found pkg-config cflags and libs! Using PKG_CFLAGS=-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 Using PKG_LIBS=-lfontconfig -lfreetype libs rm -f systemfonts.so caches.o cpp11.o dev_metrics.o font_matching.o font_registry.o ft_cache.o string_shape.o font_metrics.o font_fallback.o string_metrics.o emoji.o cache_store.o init.o unix/FontManagerLinux.o g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/alla/R/x86_64-pc-linux-gnu-library/4.2/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-MkHsSu/r-base-4.2.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c caches.cpp -o caches.o /bin/bash: g++: command not found make: [/usr/lib/R/etc/Makeconf:178: caches.o] Error 127 ERROR: compilation failed for package ‘systemfonts’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/systemfonts’ installing source package ‘digest’ ... package ‘digest’ successfully unpacked and MD5 sums checked using staged installation libs g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/build/r-base-MkHsSu/r-base-4.2.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c SpookyV2.cpp -o SpookyV2.o /bin/bash: g++: command not found make: [/usr/lib/R/etc/Makeconf:178: SpookyV2.o] Error 127 ERROR: compilation failed for package ‘digest’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/digest’ installing source package ‘xml2’ ... package ‘xml2’ successfully unpacked and MD5 sums checked using staged installation Found pkg-config cflags and libs! Using PKG_CFLAGS=-I/usr/include/libxml2 Using PKG_LIBS=-lxml2 libs g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -I../inst/include -I/usr/include/libxml2 -DUCHAR_TYPE=wchar_t -DU_SHOW_CPLUSPLUS_API=0 -fvisibility=hidden -fpic -g -O2 -fdebug-prefix-map=/build/r-base-MkHsSu/r-base-4.2.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c connection.cpp -o connection.o /bin/bash: g++: command not found make: [/usr/lib/R/etc/Makeconf:178: connection.o] Error 127 ERROR: compilation failed for package ‘xml2’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/xml2’ installing source package ‘stringi’ ... package ‘stringi’ successfully unpacked and MD5 sums checked using staged installation checking for R_HOME... /usr/lib/R checking for R... /usr/lib/R/bin/R checking for endianness... little checking for R >= 3.1.0 for C++11 use... yes checking for R < 3.4.0 for CXX1X flag use... no checking for cat... /usr/bin/cat checking for local ICUDT_DIR... icu69/data checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for elf.h... yes checking whether the compiler supports GNU C++... no checking whether g++ -std=gnu++11 accepts -g... no checking for g++ -std=gnu++11 option to enable C++11 features... none needed checking whether the C++ compiler supports the long long type... no Trying with C++11 compiler disabled. checking for local ICUDT_DIR... icu55/data checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... (cached) none needed checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for elf.h... (cached) yes checking whether the compiler supports GNU C++... no checking whether g++ -std=gnu++14 accepts -g... no checking for g++ -std=gnu++14 option to enable C++11 features... (cached) none needed checking whether the C++ compiler supports the long long type... no stringi cannot be built with these settings in place. See the INSTALL file for the solutions to the most common problems. Moreover, explore the list of open and closed issues at *** Issues · gagolews/stringi · GitHub

ERROR: configuration failed for package ‘stringi’

removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/stringi’ installing source package ‘fs’ ... package ‘fs’ successfully unpacked and MD5 sums checked using staged installation ** libs g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -I./libuv-1.44.2/include -I. -pthread -fpic -g -O2 -fdebug-prefix-map=/build/r-base-MkHsSu/r-base-4.2.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c id.cc -o id.o /bin/bash: g++: command not found make: *** [/usr/lib/R/etc/Makeconf:176: id.o] Error 127 ERROR: compilation failed for package ‘fs’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/fs’ ERROR: dependency ‘later’ is not available for package ‘promises’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/promises’ ERROR: dependency ‘systemfonts’ is not available for package ‘textshaping’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/textshaping’ ERROR: dependency ‘fastmap’ is not available for package ‘cachem’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/cachem’ ERROR: dependencies ‘digest’, ‘fastmap’ are not available for package ‘htmltools’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/htmltools’ ERROR: dependency ‘stringi’ is not available for package ‘stringr’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/stringr’ ERROR: dependency ‘fs’ is not available for package ‘usethis’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/usethis’ ERROR: dependency ‘fs’ is not available for package ‘pkgload’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/pkgload’ ERROR: dependency ‘digest’ is not available for package ‘rcmdcheck’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/rcmdcheck’ ERROR: dependency ‘xml2’ is not available for package ‘rversions’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/rversions’ ERROR: dependency ‘xml2’ is not available for package ‘urlchecker’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/urlchecker’ ERROR: dependencies ‘promises’, ‘later’ are not available for package ‘httpuv’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/httpuv’ ERROR: dependency ‘htmltools’ is not available for package ‘fontawesome’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/fontawesome’ ERROR: dependencies ‘fs’, ‘htmltools’ are not available for package ‘sass’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/sass’ ERROR: dependency ‘htmltools’ is not available for package ‘jquerylib’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/jquerylib’ ERROR: dependencies ‘systemfonts’, ‘textshaping’ are not available for package ‘ragg’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/ragg’ ERROR: dependency ‘cachem’ is not available for package ‘memoise’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/memoise’ ERROR: dependencies ‘pkgload’, ‘stringi’, ‘stringr’, ‘xml2’ are not available for package ‘roxygen2’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/roxygen2’ ERROR: dependencies ‘digest’, ‘pkgload’ are not available for package ‘testthat’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/testthat’ ERROR: dependencies ‘htmltools’, ‘sass’, ‘jquerylib’, ‘cachem’, ‘memoise’ are not available for package ‘bslib’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/bslib’ ERROR: dependencies ‘digest’, ‘memoise’ are not available for package ‘downlit’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/downlit’ ERROR: dependencies ‘httpuv’, ‘fontawesome’, ‘htmltools’, ‘sourcetools’, ‘later’, ‘promises’, ‘fastmap’, ‘bslib’, ‘cachem’ are not available for package ‘shiny’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/shiny’ ERROR: dependencies ‘bslib’, ‘fontawesome’, ‘htmltools’, ‘jquerylib’, ‘stringr’ are not available for package ‘rmarkdown’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/rmarkdown’ ERROR: dependencies ‘htmltools’, ‘rmarkdown’ are not available for package ‘htmlwidgets’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/htmlwidgets’ ERROR: dependencies ‘shiny’, ‘htmltools’ are not available for package ‘miniUI’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/miniUI’ ERROR: dependencies ‘bslib’, ‘digest’, ‘downlit’, ‘fs’, ‘memoise’, ‘ragg’, ‘rmarkdown’, ‘xml2’ are not available for package ‘pkgdown’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/pkgdown’ ERROR: dependencies ‘htmlwidgets’, ‘stringr’ are not available for package ‘profvis’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/profvis’ ERROR: dependencies ‘usethis’, ‘fs’, ‘memoise’, ‘miniUI’, ‘pkgdown’, ‘pkgload’, ‘profvis’, ‘rcmdcheck’, ‘roxygen2’, ‘rversions’, ‘testthat’, ‘urlchecker’ are not available for package ‘devtools’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/devtools’ The downloaded source packages are in ‘/tmp/Rtmpc857uF/downloaded_packages’ Installation paths not writeable, unable to update packages path: /usr/lib/R/library packages: boot, foreign, lattice, Matrix There were 35 warnings (use warnings() to see them)

I have tried next: if (!require("BiocManager", quietly = TRUE)) install.packages("BiocManager") BiocManager::install("devtools")

install.packages('devtools', lib='~/R/lib')

remotes::install_github("devtools")

install.packages("devtools", dependencies = TRUE)

update.packages(checkBuilt = TRUE, ask = FALSE)

update.packages(checkBuilt = TRUE, ask = FALSE) Warning: package 'boot' in library '/usr/lib/R/library' will not be updated Warning: package 'foreign' in library '/usr/lib/R/library' will not be updated Warning: package 'lattice' in library '/usr/lib/R/library' will not be updated Warning in install.packages(update[instlib == l, "Package"], l, contriburl = contriburl, : 'lib = "/usr/lib/R/library"' is not writable Would you like to use a personal library instead? (yes/No/cancel) yes trying URL 'https://cloud.r-project.org/src/contrib/KernSmooth_2.23-20.tar.gz' Content type 'application/x-gzip' length 25946 bytes (25 KB)

downloaded 25 KB

trying URL 'https://cloud.r-project.org/src/contrib/Matrix_1.5-4.tar.gz' Content type 'application/x-gzip' length 2177404 bytes (2.1 MB) downloaded 2.1 MB

installing source package ‘KernSmooth’ ... package ‘KernSmooth’ successfully unpacked and MD5 sums checked using staged installation ** libs gfortran -fno-optimize-sibling-calls -fpic -g -O2 -fdebug-prefix-map=/build/r-base-MkHsSu/r-base-4.2.3=. -fstack-protector-strong -c blkest.f -o blkest.o /bin/bash: gfortran: command not found make: * [/usr/lib/R/etc/Makeconf:192: blkest.o] Error 127 ERROR: compilation failed for package ‘KernSmooth’ removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/KernSmooth’ installing source package ‘Matrix’ ... package ‘Matrix’ successfully unpacked and MD5 sums checked using staged installation libs ****some more outputs, but in the end no updates I don't habe farewall or proxy. I have tried to change the repositories in tools-Global-Options Also turned off Use secure download method for HTTP But, nothing seems to work( Please help me to find a solution I would appreciate any help

ShevchenkoAlla commented 1 year ago

I got help from colleagues, I was missing g++