Unable to install any packages on R desktop

Hello,

I am new in R studio world and i am having an issue while installing any package, ill attach as much code as possible(have removed some package names), if anyone can help me out please that would be great.

install.packages("tidyverse")
Installing package into ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3’
(as ‘lib’ is unspecified)
also installing the dependencies ‘fastmap’, ‘colorspace’, ‘sys’, ‘bit’, ‘ps’, ‘base64enc’, ‘sass’, ‘digest’, ‘cachem’, ‘farver’, ‘munsell’, ‘rappdirs’, ‘askpass’, ‘bit64’, ‘processx’,‘haven’, ‘hms’, ‘httr’, ‘jsonlite’, ‘lubridate’, ‘magrittr’, ‘modelr’, ‘pillar’, ‘purrr’, ‘ragg’, ‘readr’, ‘readxl’, ‘reprex’, ‘rlang’, ‘rvest’, ‘stringr’, ‘tibble’, ‘tidyr’, ‘xml2’

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/colorspace_2.1-0.tar.gz'
Content type 'application/x-gzip' length 2116339 bytes (2.0 MB)
==================================================
downloaded 2.0 MB

trying URL 'https://cloud.r-project.org/src/contrib/httr_1.4.7.tar.gz'
Content type 'application/x-gzip' length 118500 bytes (115 KB)
==================================================
downloaded 115 KB

trying URL 'https://cloud.r-project.org/src/contrib/tibble_3.2.1.tar.gz'
Content type 'application/x-gzip' length 565982 bytes (552 KB)
==================================================
downloaded 552 KB

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

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

trying URL 'https://cloud.r-project.org/src/contrib/tidyverse_2.0.0.tar.gz'
Content type 'application/x-gzip' length 704618 bytes (688 KB)
==================================================
downloaded 688 KB

* installing *source* package ‘fastmap’ ...
** package ‘fastmap’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/fastmap’
Warning in install.packages :
  installation of package ‘fastmap’ had non-zero exit status
* installing *source* package ‘colorspace’ ...
** package ‘colorspace’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/colorspace’
Warning in install.packages :
  installation of package ‘colorspace’ had non-zero exit status
* installing *source* package ‘sys’ ...
** package ‘sys’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/sys’
Warning in install.packages :
  installation of package ‘sys’ had non-zero exit status
* installing *source* package ‘bit’ ...
** package ‘bit’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/bit’
Warning in install.packages :
  installation of package ‘bit’ had non-zero exit status
* installing *source* package ‘ps’ ...
** package ‘ps’ successfully unpacked and MD5 sums checked
** using staged installation
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
Error in system2(file.path(R.home("bin"), "R"), c("CMD", "config", x),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/ps’
Warning in install.packages :
  installation of package ‘ps’ had non-zero exit status
* installing *source* package ‘base64enc’ ...
** package ‘base64enc’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/base64enc’
Warning in install.packages :
  installation of package ‘base64enc’ had non-zero exit status
* installing *source* package ‘digest’ ...
** package ‘digest’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/digest’
Warning in install.packages :
  installation of package ‘digest’ had non-zero exit status
* installing *source* package ‘farver’ ...
** package ‘farver’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/farver’
Warning in install.packages :
  installation of package ‘farver’ had non-zero exit status
* installing *source* package ‘rappdirs’ ...
** package ‘rappdirs’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/rappdirs’
Warning in install.packages :
  installation of package ‘rappdirs’ had non-zero exit status
* installing *source* package ‘xfun’ ...
** package ‘xfun’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/xfun’
Warning in install.packages :
  installation of package ‘xfun’ had non-zero exit status
* installing *source* package ‘yaml’ ...
** package ‘yaml’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/yaml’
Warning in install.packages :
  installation of package ‘yaml’ had non-zero exit status
* installing *source* package ‘backports’ ...
** package ‘backports’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/backports’
Warning in install.packages :
  installation of package ‘backports’ had non-zero exit status
* installing *source* package ‘glue’ ...
** package ‘glue’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/glue’
Warning in install.packages :
  installation of package ‘glue’ had non-zero exit status
* installing *source* package ‘data.table’ ...
** package ‘data.table’ successfully unpacked and MD5 sums checked
** using staged installation
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
Error in system2(file.path(R.home("bin"), "R"), c("CMD", "config", x),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/data.table’
Warning in install.packages :
  installation of package ‘data.table’ had non-zero exit status
* installing *source* package ‘isoband’ ...
** package ‘isoband’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/isoband’
Warning in install.packages :
  installation of package ‘isoband’ had non-zero exit status
* installing *source* package ‘uuid’ ...
** package ‘uuid’ successfully unpacked and MD5 sums checked
** using staged installation
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
Error in system2(file.path(R.home("bin"), "R"), c("CMD", "config", x),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/uuid’
Warning in install.packages :
  installation of package ‘uuid’ had non-zero exit status
* installing *source* package ‘curl’ ...
** package ‘curl’ successfully unpacked and MD5 sums checked
** using staged installation
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
Error in system2(file.path(R.home("bin"), "R"), c("CMD", "config", x),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/curl’
Warning in install.packages :
  installation of package ‘curl’ had non-zero exit status
* installing *source* package ‘mime’ ...
** package ‘mime’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/mime’
Warning in install.packages :
  installation of package ‘mime’ had non-zero exit status
* installing *source* package ‘timechange’ ...
** package ‘timechange’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/timechange’
Warning in install.packages :
  installation of package ‘timechange’ had non-zero exit status
* installing *source* package ‘fansi’ ...
** package ‘fansi’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/fansi’
Warning in install.packages :
  installation of package ‘fansi’ had non-zero exit status
* installing *source* package ‘utf8’ ...
** package ‘utf8’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/utf8’
Warning in install.packages :
  installation of package ‘utf8’ had non-zero exit status
* installing *source* package ‘systemfonts’ ...
** package ‘systemfonts’ successfully unpacked and MD5 sums checked
** using staged installation
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
Error in system2(file.path(R.home("bin"), "R"), c("CMD", "config", x),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/systemfonts’
Warning in install.packages :
  installation of package ‘systemfonts’ had non-zero exit status
* installing *source* package ‘tzdb’ ...
** package ‘tzdb’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/tzdb’
Warning in install.packages :
  installation of package ‘tzdb’ had non-zero exit status
* installing *source* package ‘fs’ ...
** package ‘fs’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/fs’
Warning in install.packages :
  installation of package ‘fs’ had non-zero exit status
* installing *source* package ‘stringi’ ...
** package ‘stringi’ successfully unpacked and MD5 sums checked
** using staged installation
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
/usr/lib/R/bin/config: 1: eval: make: not found
Error in system2(file.path(R.home("bin"), "R"), c("CMD", "config", x),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/stringi’
Warning in install.packages :
  installation of package ‘stringi’ had non-zero exit status
* installing *source* package ‘cli’ ...
** package ‘cli’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/cli’
Warning in install.packages :
  installation of package ‘cli’ had non-zero exit status
* installing *source* package ‘jsonlite’ ...
** package ‘jsonlite’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/jsonlite’
Warning in install.packages :
  installation of package ‘jsonlite’ had non-zero exit status
* installing *source* package ‘magrittr’ ...
** package ‘magrittr’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/magrittr’
Warning in install.packages :
  installation of package ‘magrittr’ had non-zero exit status
* installing *source* package ‘rlang’ ...
** package ‘rlang’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: 1: make: not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/rlang’
Warning in install.packages :
  installation of package ‘rlang’ had non-zero exit status
ERROR: dependencies ‘rlang’, ‘fastmap’ are not available for package ‘cachem’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/cachem’
Warning in install.packages :
  installation of package ‘cachem’ had non-zero exit status
ERROR: dependency ‘colorspace’ is not available for package ‘munsell’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/munsell’
Warning in install.packages :
  installation of package ‘munsell’ had non-zero exit status
ERROR: dependency ‘sys’ is not available for package ‘askpass’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/askpass’
Warning in install.packages :
  installation of package ‘askpass’ had non-zero exit status
ERROR: dependency ‘bit’ is not available for package ‘bit64’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/bit64’
Warning in install.packages :
  installation of package ‘bit64’ had non-zero exit status
ERROR: dependency ‘ps’ is not available for package ‘processx’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/processx’
Warning in install.packages :
  installation of package ‘processx’ had non-zero exit status
ERROR: dependency ‘xfun’ is not available for package ‘highr’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/highr’
Warning in install.packages :
  installation of package ‘highr’ had non-zero exit status
ERROR: dependency ‘xfun’ is not available for package ‘tinytex’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/tinytex’
Warning in install.packages :
  installation of package ‘tinytex’ had non-zero exit status
ERROR: dependency ‘rlang’ is not available for package ‘ellipsis’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/ellipsis’
Warning in install.packages :
  installation of package ‘ellipsis’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘glue’, ‘rlang’ are not available for package ‘lifecycle’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/lifecycle’
Warning in install.packages :
  installation of package ‘lifecycle’ had non-zero exit status
ERROR: dependency ‘systemfonts’ is not available for package ‘textshaping’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/textshaping’
Warning in install.packages :
  installation of package ‘textshaping’ had non-zero exit status
ERROR: dependency ‘timechange’ is not available for package ‘lubridate’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/lubridate’
Warning in install.packages :
  installation of package ‘lubridate’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘rlang’ are not available for package ‘xml2’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/xml2’
Warning in install.packages :
  installation of package ‘xml2’ had non-zero exit status
ERROR: dependencies ‘base64enc’, ‘digest’, ‘ellipsis’, ‘fastmap’, ‘rlang’ are not available for package ‘htmltools’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/htmltools’
Warning in install.packages :
  installation of package ‘htmltools’ had non-zero exit status
ERROR: dependencies ‘rlang’, ‘cachem’ are not available for package ‘memoise’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/memoise’
Warning in install.packages :
  installation of package ‘memoise’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘glue’, ‘lifecycle’, ‘rlang’ are not available for package ‘vctrs’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/vctrs’
Warning in install.packages :
  installation of package ‘vctrs’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘glue’, ‘lifecycle’, ‘rlang’ are not available for package ‘gtable’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/gtable’
Warning in install.packages :
  installation of package ‘gtable’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘farver’, ‘glue’, ‘lifecycle’, ‘munsell’, ‘rlang’ are not available for package ‘scales’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/scales’
Warning in install.packages :
  installation of package ‘scales’ had non-zero exit status
ERROR: dependency ‘askpass’ is not available for package ‘openssl’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/openssl’
Warning in install.packages :
  installation of package ‘openssl’ had non-zero exit status
ERROR: dependency ‘processx’ is not available for package ‘callr’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/callr’
Warning in install.packages :
  installation of package ‘callr’ had non-zero exit status
ERROR: dependencies ‘highr’, ‘xfun’, ‘yaml’ are not available for package ‘knitr’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/knitr’
Warning in install.packages :
  installation of package ‘knitr’ had non-zero exit status
ERROR: dependencies ‘systemfonts’, ‘textshaping’ are not available for package ‘ragg’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/ragg’
Warning in install.packages :
  installation of package ‘ragg’ had non-zero exit status
ERROR: dependencies ‘fs’, ‘rlang’, ‘htmltools’, ‘rappdirs’ are not available for package ‘sass’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/sass’
Warning in install.packages :
  installation of package ‘sass’ had non-zero exit status
ERROR: dependencies ‘rlang’, ‘htmltools’ are not available for package ‘fontawesome’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/fontawesome’
Warning in install.packages :
  installation of package ‘fontawesome’ had non-zero exit status
ERROR: dependency ‘htmltools’ is not available for package ‘jquerylib’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/jquerylib’
Warning in install.packages :
  installation of package ‘jquerylib’ had non-zero exit status
ERROR: dependencies ‘rlang’, ‘vctrs’ are not available for package ‘blob’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/blob’
Warning in install.packages :
  installation of package ‘blob’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘glue’, ‘lifecycle’, ‘rlang’, ‘vctrs’ are not available for package ‘tidyselect’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/tidyselect’
Warning in install.packages :
  installation of package ‘tidyselect’ had non-zero exit status
ERROR: dependencies ‘openssl’, ‘uuid’ are not available for package ‘ids’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/ids’
Warning in install.packages :
  installation of package ‘ids’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘memoise’, ‘rlang’ are not available for package ‘conflicted’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/conflicted’
Warning in install.packages :
  installation of package ‘conflicted’ had non-zero exit status
ERROR: dependencies ‘lifecycle’, ‘rlang’, ‘vctrs’ are not available for package ‘hms’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/hms’
Warning in install.packages :
  installation of package ‘hms’ had non-zero exit status
ERROR: dependencies ‘curl’, ‘jsonlite’, ‘mime’, ‘openssl’ are not available for package ‘httr’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/httr’
Warning in install.packages :
  installation of package ‘httr’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘fansi’, ‘glue’, ‘lifecycle’, ‘rlang’, ‘utf8’, ‘vctrs’ are not available for package ‘pillar’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/pillar’
Warning in install.packages :
  installation of package ‘pillar’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘lifecycle’, ‘magrittr’, ‘rlang’, ‘vctrs’ are not available for package ‘purrr’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/purrr’
Warning in install.packages :
  installation of package ‘purrr’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘glue’, ‘lifecycle’, ‘magrittr’, ‘rlang’, ‘stringi’, ‘vctrs’ are not available for package ‘stringr’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/stringr’
Warning in install.packages :
  installation of package ‘stringr’ had non-zero exit status
ERROR: dependencies ‘base64enc’, ‘cachem’, ‘htmltools’, ‘jquerylib’, ‘jsonlite’, ‘lifecycle’, ‘memoise’, ‘mime’, ‘rlang’, ‘sass’ are not available for package ‘bslib’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/bslib’
Warning in install.packages :
  installation of package ‘bslib’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘fs’, ‘glue’, ‘httr’, ‘jsonlite’, ‘lifecycle’, ‘openssl’, ‘rappdirs’, ‘rlang’ are not available for package ‘gargle’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/gargle’
Warning in install.packages :
  installation of package ‘gargle’ had non-zero exit status
ERROR: dependency ‘hms’ is not available for package ‘progress’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/progress’
Warning in install.packages :
  installation of package ‘progress’ had non-zero exit status
ERROR: dependency ‘stringr’ is not available for package ‘selectr’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/selectr’
Warning in install.packages :
  installation of package ‘selectr’ had non-zero exit status
ERROR: dependencies ‘fansi’, ‘lifecycle’, ‘magrittr’, ‘pillar’, ‘rlang’, ‘vctrs’ are not available for package ‘tibble’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/tibble’
Warning in install.packages :
  installation of package ‘tibble’ had non-zero exit status
ERROR: dependency ‘tibble’ is not available for package ‘cellranger’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/cellranger’
Warning in install.packages :
  installation of package ‘cellranger’ had non-zero exit status
ERROR: dependency ‘tibble’ is not available for package ‘rematch2’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/rematch2’
Warning in install.packages :
  installation of package ‘rematch2’ had non-zero exit status
ERROR: dependencies ‘bit64’, ‘cli’, ‘glue’, ‘hms’, ‘lifecycle’, ‘rlang’, ‘tibble’, ‘tidyselect’, ‘tzdb’, ‘vctrs’, ‘progress’ are not available for package ‘vroom’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/vroom’
Warning in install.packages :
  installation of package ‘vroom’ had non-zero exit status
ERROR: dependencies ‘bslib’, ‘fontawesome’, ‘htmltools’, ‘jquerylib’, ‘jsonlite’, ‘knitr’, ‘stringr’, ‘tinytex’, ‘xfun’, ‘yaml’ are not available for package ‘rmarkdown’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/rmarkdown’
Warning in install.packages :
  installation of package ‘rmarkdown’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘glue’, ‘lifecycle’, ‘magrittr’, ‘pillar’, ‘rlang’, ‘tibble’, ‘tidyselect’, ‘vctrs’ are not available for package ‘dplyr’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/dplyr’
Warning in install.packages :
  installation of package ‘dplyr’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘glue’, ‘lifecycle’, ‘magrittr’, ‘rlang’, ‘tibble’ are not available for package ‘forcats’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/forcats’
Warning in install.packages :
  installation of package ‘forcats’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘glue’, ‘gtable’, ‘isoband’, ‘lifecycle’, ‘rlang’, ‘scales’, ‘tibble’, ‘vctrs’ are not available for package ‘ggplot2’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/ggplot2’
Warning in install.packages :
  installation of package ‘ggplot2’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘gargle’, ‘glue’, ‘httr’, ‘jsonlite’, ‘lifecycle’, ‘magrittr’, ‘pillar’, ‘purrr’, ‘rlang’, ‘tibble’, ‘uuid’, ‘vctrs’ are not available for package ‘googledrive’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/googledrive’
Warning in install.packages :
  installation of package ‘googledrive’ had non-zero exit status
ERROR: dependencies ‘glue’, ‘cli’, ‘httr’, ‘lifecycle’, ‘magrittr’, ‘rlang’, ‘selectr’, ‘tibble’, ‘xml2’ are not available for package ‘rvest’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/rvest’
Warning in install.packages :
  installation of package ‘rvest’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘data.table’, ‘dplyr’, ‘glue’, ‘lifecycle’, ‘rlang’, ‘tibble’, ‘tidyselect’, ‘vctrs’ are not available for package ‘dtplyr’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/dtplyr’
Warning in install.packages :
  installation of package ‘dtplyr’ had non-zero exit status
ERROR: dependencies ‘cellranger’, ‘cli’, ‘curl’, ‘gargle’, ‘glue’, ‘googledrive’, ‘httr’, ‘ids’, ‘lifecycle’, ‘magrittr’, ‘purrr’, ‘rematch2’, ‘rlang’, ‘tibble’, ‘vctrs’ are not available for package ‘googlesheets4’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/googlesheets4’
Warning in install.packages :
  installation of package ‘googlesheets4’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘hms’, ‘lifecycle’, ‘rlang’, ‘tibble’, ‘vroom’, ‘tzdb’ are not available for package ‘readr’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/readr’
Warning in install.packages :
  installation of package ‘readr’ had non-zero exit status
ERROR: dependencies ‘cellranger’, ‘tibble’, ‘progress’ are not available for package ‘readxl’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/readxl’
Warning in install.packages :
  installation of package ‘readxl’ had non-zero exit status
ERROR: dependencies ‘callr’, ‘cli’, ‘fs’, ‘glue’, ‘knitr’, ‘lifecycle’, ‘rlang’, ‘rmarkdown’ are not available for package ‘reprex’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/reprex’
Warning in install.packages :
  installation of package ‘reprex’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘dplyr’, ‘glue’, ‘lifecycle’, ‘magrittr’, ‘purrr’, ‘rlang’, ‘stringr’, ‘tibble’, ‘tidyselect’, ‘vctrs’ are not available for package ‘tidyr’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/tidyr’
Warning in install.packages :
  installation of package ‘tidyr’ had non-zero exit status
ERROR: dependencies ‘backports’, ‘dplyr’, ‘ellipsis’, ‘glue’, ‘lifecycle’, ‘purrr’, ‘rlang’, ‘stringr’, ‘tibble’, ‘tidyr’ are not available for package ‘broom’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/broom’
Warning in install.packages :
  installation of package ‘broom’ had non-zero exit status
ERROR: dependencies ‘blob’, ‘cli’, ‘dplyr’, ‘glue’, ‘lifecycle’, ‘magrittr’, ‘pillar’, ‘purrr’, ‘rlang’, ‘tibble’, ‘tidyr’, ‘tidyselect’, ‘vctrs’ are not available for package ‘dbplyr’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/dbplyr’
Warning in install.packages :
  installation of package ‘dbplyr’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘forcats’, ‘hms’, ‘lifecycle’, ‘readr’, ‘rlang’, ‘tibble’, ‘tidyselect’, ‘vctrs’ are not available for package ‘haven’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/haven’
Warning in install.packages :
  installation of package ‘haven’ had non-zero exit status
ERROR: dependencies ‘broom’, ‘magrittr’, ‘purrr’, ‘rlang’, ‘tibble’, ‘tidyr’, ‘tidyselect’, ‘vctrs’ are not available for package ‘modelr’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/modelr’
Warning in install.packages :
  installation of package ‘modelr’ had non-zero exit status
ERROR: dependencies ‘broom’, ‘conflicted’, ‘cli’, ‘dbplyr’, ‘dplyr’, ‘dtplyr’, ‘forcats’, ‘ggplot2’, ‘googledrive’, ‘googlesheets4’, ‘haven’, ‘hms’, ‘httr’, ‘jsonlite’, ‘lubridate’, ‘magrittr’, ‘modelr’, ‘pillar’, ‘purrr’, ‘ragg’, ‘readr’, ‘readxl’, ‘reprex’, ‘rlang’, ‘rvest’, ‘stringr’, ‘tibble’, ‘tidyr’, ‘xml2’ are not available for package ‘tidyverse’
* removing ‘/home/faizan/R/x86_64-pc-linux-gnu-library/4.3/tidyverse’
Warning in install.packages :
  installation of package ‘tidyverse’ had non-zero exit status

The downloaded source packages are in
	‘/tmp/RtmpVQQsh5/downloaded_packages’

And after this i am unable to load the package, presumeabily because the package is not installed properly.
I am using Ubuntu 22.04.3 LTS.

Any help would be appreciated.
Thanks.

Have a look at Unable to install package for R markdown . If you scroll all the way to the bottom there are a couple of suggested solutions.

I think I would try @ Gabor's first

apt-get install build-essential
2 Likes

While this didn't solve my problem, trying something else from that thread did

sudo apt install --no-install-recommends r-cran-tidyverse

Appreciate the response :slight_smile:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.