Unable to install package for R markdown

Hi everyone,

After updating Rstudio, I tried to open a new R markdown file.
Rstudio asked me to install updated version of required packages, which sounds already weird after an update. Every time I try, there are several errors on the line of "package not available for rmarkdown".
I tried installing them in different ways, re-installing Rstudio, but nothing helped and I'm on a deadline. Any suggestion?
Screenshot_2023-06-12_11-25-17

/usr/lib64/R/bin/config: line 189: make: command not found
/usr/lib64/R/bin/config: line 190: make: command not found
/usr/lib64/R/bin/config: line 191: make: command not found
/usr/lib64/R/bin/config: line 340: make: command not found
Error in system2(file.path(R.home("bin"), "R"), c("CMD", "config", x),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/stringi’
[23/26] Installing vctrs...

The downloaded source packages are in
	‘/tmp/RtmpKquXRH/downloaded_packages’
Installing package into ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3’
(as ‘lib’ is unspecified)
also installing the dependencies ‘cli’, ‘glue’, ‘lifecycle’, ‘rlang’

trying URL 'https://cran.rstudio.com/src/contrib/cli_3.6.1.tar.gz'
Content type 'application/x-gzip' length 567293 bytes (553 KB)
==================================================
downloaded 553 KB

trying URL 'https://cran.rstudio.com/src/contrib/glue_1.6.2.tar.gz'
Content type 'application/x-gzip' length 106510 bytes (104 KB)
==================================================
downloaded 104 KB

trying URL 'https://cran.rstudio.com/src/contrib/lifecycle_1.0.3.tar.gz'
Content type 'application/x-gzip' length 106854 bytes (104 KB)
==================================================
downloaded 104 KB

trying URL 'https://cran.rstudio.com/src/contrib/rlang_1.1.1.tar.gz'
Content type 'application/x-gzip' length 762533 bytes (744 KB)
==================================================
downloaded 744 KB

trying URL 'https://cran.rstudio.com/src/contrib/vctrs_0.6.2.tar.gz'
Content type 'application/x-gzip' length 964633 bytes (942 KB)
==================================================
downloaded 942 KB

* installing *source* package ‘cli’ ...
** package ‘cli’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: line 1: make: command not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/cli’
* installing *source* package ‘glue’ ...
** package ‘glue’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: line 1: make: command not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/glue’
* installing *source* package ‘rlang’ ...
** package ‘rlang’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: line 1: make: command not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/rlang’
ERROR: dependencies ‘cli’, ‘glue’, ‘rlang’ are not available for package ‘lifecycle’
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/lifecycle’
[24/26] Installing stringr...
ERROR: dependencies ‘cli’, ‘glue’, ‘lifecycle’, ‘rlang’ are not available for package ‘vctrs’
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/vctrs’

The downloaded source packages are in
	‘/tmp/RtmpKquXRH/downloaded_packages’
Installing package into ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3’
(as ‘lib’ is unspecified)
also installing the dependencies ‘cli’, ‘glue’, ‘lifecycle’, ‘magrittr’, ‘rlang’, ‘stringi’, ‘vctrs’

trying URL 'https://cran.rstudio.com/src/contrib/cli_3.6.1.tar.gz'
Content type 'application/x-gzip' length 567293 bytes (553 KB)
==================================================
downloaded 553 KB

trying URL 'https://cran.rstudio.com/src/contrib/glue_1.6.2.tar.gz'
Content type 'application/x-gzip' length 106510 bytes (104 KB)
==================================================
downloaded 104 KB

trying URL 'https://cran.rstudio.com/src/contrib/lifecycle_1.0.3.tar.gz'
Content type 'application/x-gzip' length 106854 bytes (104 KB)
==================================================
downloaded 104 KB

trying URL 'https://cran.rstudio.com/src/contrib/magrittr_2.0.3.tar.gz'
Content type 'application/x-gzip' length 267074 bytes (260 KB)
==================================================
downloaded 260 KB

trying URL 'https://cran.rstudio.com/src/contrib/rlang_1.1.1.tar.gz'
Content type 'application/x-gzip' length 762533 bytes (744 KB)
==================================================
downloaded 744 KB

trying URL 'https://cran.rstudio.com/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://cran.rstudio.com/src/contrib/vctrs_0.6.2.tar.gz'
Content type 'application/x-gzip' length 964633 bytes (942 KB)
==================================================
downloaded 942 KB

trying URL 'https://cran.rstudio.com/src/contrib/stringr_1.5.0.tar.gz'
Content type 'application/x-gzip' length 175699 bytes (171 KB)
==================================================
downloaded 171 KB

* installing *source* package ‘cli’ ...
** package ‘cli’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: line 1: make: command not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/cli’
* installing *source* package ‘glue’ ...
** package ‘glue’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: line 1: make: command not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/glue’
* installing *source* package ‘magrittr’ ...
** package ‘magrittr’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: line 1: make: command not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/magrittr’
* installing *source* package ‘rlang’ ...
** package ‘rlang’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: line 1: make: command not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/rlang’
* installing *source* package ‘stringi’ ...
** package ‘stringi’ successfully unpacked and MD5 sums checked
** using staged installation
/usr/lib64/R/bin/config: line 187: make: command not found
/usr/lib64/R/bin/config: line 188: make: command not found
/usr/lib64/R/bin/config: line 189: make: command not found
/usr/lib64/R/bin/config: line 190: make: command not found
/usr/lib64/R/bin/config: line 191: make: command not found
/usr/lib64/R/bin/config: line 340: make: command not found
Error in system2(file.path(R.home("bin"), "R"), c("CMD", "config", x),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/stringi’
ERROR: dependencies ‘cli’, ‘glue’, ‘rlang’ are not available for package ‘lifecycle’
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/lifecycle’
ERROR: dependencies ‘cli’, ‘glue’, ‘lifecycle’, ‘rlang’ are not available for package ‘vctrs’
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/vctrs’
[25/26] Installing tinytex...
ERROR: dependencies ‘cli’, ‘glue’, ‘lifecycle’, ‘magrittr’, ‘rlang’, ‘stringi’, ‘vctrs’ are not available for package ‘stringr’
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/stringr’

The downloaded source packages are in
	‘/tmp/RtmpKquXRH/downloaded_packages’
Installing package into ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3’
(as ‘lib’ is unspecified)
also installing the dependency ‘xfun’

trying URL 'https://cran.rstudio.com/src/contrib/xfun_0.39.tar.gz'
Content type 'application/x-gzip' length 135480 bytes (132 KB)
==================================================
downloaded 132 KB

trying URL 'https://cran.rstudio.com/src/contrib/tinytex_0.45.tar.gz'
Content type 'application/x-gzip' length 33082 bytes (32 KB)
==================================================
downloaded 32 KB

* installing *source* package ‘xfun’ ...
** package ‘xfun’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: line 1: make: command not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/xfun’
[26/26] Installing rmarkdown...
ERROR: dependency ‘xfun’ is not available for package ‘tinytex’
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/tinytex’

The downloaded source packages are in
	‘/tmp/RtmpKquXRH/downloaded_packages’
Installing package into ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3’
(as ‘lib’ is unspecified)
also installing the dependencies ‘fs’, ‘rappdirs’, ‘base64enc’, ‘cachem’, ‘memoise’, ‘mime’, ‘rlang’, ‘sass’, ‘digest’, ‘fastmap’, ‘ellipsis’, ‘highr’, ‘cli’, ‘glue’, ‘lifecycle’, ‘magrittr’, ‘stringi’, ‘vctrs’, ‘bslib’, ‘fontawesome’, ‘htmltools’, ‘jquerylib’, ‘jsonlite’, ‘knitr’, ‘stringr’, ‘tinytex’, ‘xfun’, ‘yaml’

trying URL 'https://cran.rstudio.com/src/contrib/fs_1.6.2.tar.gz'
Content type 'application/x-gzip' length 1185454 bytes (1.1 MB)
==================================================
downloaded 1.1 MB

trying URL 'https://cran.rstudio.com/src/contrib/rappdirs_0.3.3.tar.gz'
Content type 'application/x-gzip' length 12288 bytes (12 KB)
==================================================
downloaded 12 KB

trying URL 'https://cran.rstudio.com/src/contrib/base64enc_0.1-3.tar.gz'
Content type 'application/x-gzip' length 7833 bytes
==================================================
downloaded 7833 bytes

trying URL 'https://cran.rstudio.com/src/contrib/cachem_1.0.8.tar.gz'
Content type 'application/x-gzip' length 26510 bytes (25 KB)
==================================================
downloaded 25 KB

trying URL 'https://cran.rstudio.com/src/contrib/memoise_2.0.1.tar.gz'
Content type 'application/x-gzip' length 17852 bytes (17 KB)
==================================================
downloaded 17 KB

trying URL 'https://cran.rstudio.com/src/contrib/mime_0.12.tar.gz'
Content type 'application/x-gzip' length 12562 bytes (12 KB)
==================================================
downloaded 12 KB

trying URL 'https://cran.rstudio.com/src/contrib/rlang_1.1.1.tar.gz'
Content type 'application/x-gzip' length 762533 bytes (744 KB)
==================================================
downloaded 744 KB

trying URL 'https://cran.rstudio.com/src/contrib/sass_0.4.6.tar.gz'
Content type 'application/x-gzip' length 3024838 bytes (2.9 MB)
==================================================
downloaded 2.9 MB

trying URL 'https://cran.rstudio.com/src/contrib/digest_0.6.31.tar.gz'
Content type 'application/x-gzip' length 163502 bytes (159 KB)
==================================================
downloaded 159 KB

trying URL 'https://cran.rstudio.com/src/contrib/fastmap_1.1.1.tar.gz'
Content type 'application/x-gzip' length 46412 bytes (45 KB)
==================================================
downloaded 45 KB

trying URL 'https://cran.rstudio.com/src/contrib/ellipsis_0.3.2.tar.gz'
Content type 'application/x-gzip' length 8066 bytes
==================================================
downloaded 8066 bytes

trying URL 'https://cran.rstudio.com/src/contrib/highr_0.10.tar.gz'
Content type 'application/x-gzip' length 15084 bytes (14 KB)
==================================================
downloaded 14 KB

trying URL 'https://cran.rstudio.com/src/contrib/cli_3.6.1.tar.gz'
Content type 'application/x-gzip' length 567293 bytes (553 KB)
==================================================
downloaded 553 KB

trying URL 'https://cran.rstudio.com/src/contrib/glue_1.6.2.tar.gz'
Content type 'application/x-gzip' length 106510 bytes (104 KB)
==================================================
downloaded 104 KB

trying URL 'https://cran.rstudio.com/src/contrib/lifecycle_1.0.3.tar.gz'
Content type 'application/x-gzip' length 106854 bytes (104 KB)
==================================================
downloaded 104 KB

trying URL 'https://cran.rstudio.com/src/contrib/magrittr_2.0.3.tar.gz'
Content type 'application/x-gzip' length 267074 bytes (260 KB)
==================================================
downloaded 260 KB

trying URL 'https://cran.rstudio.com/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://cran.rstudio.com/src/contrib/vctrs_0.6.2.tar.gz'
Content type 'application/x-gzip' length 964633 bytes (942 KB)
==================================================
downloaded 942 KB

trying URL 'https://cran.rstudio.com/src/contrib/bslib_0.5.0.tar.gz'
Content type 'application/x-gzip' length 4917051 bytes (4.7 MB)
==================================================
downloaded 4.7 MB

trying URL 'https://cran.rstudio.com/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://cran.rstudio.com/src/contrib/htmltools_0.5.5.tar.gz'
Content type 'application/x-gzip' length 131880 bytes (128 KB)
==================================================
downloaded 128 KB

trying URL 'https://cran.rstudio.com/src/contrib/jquerylib_0.1.4.tar.gz'
Content type 'application/x-gzip' length 520207 bytes (508 KB)
==================================================
downloaded 508 KB

trying URL 'https://cran.rstudio.com/src/contrib/jsonlite_1.8.5.tar.gz'
Content type 'application/x-gzip' length 1053106 bytes (1.0 MB)
==================================================
downloaded 1.0 MB

trying URL 'https://cran.rstudio.com/src/contrib/knitr_1.43.tar.gz'
Content type 'application/x-gzip' length 895054 bytes (874 KB)
==================================================
downloaded 874 KB

trying URL 'https://cran.rstudio.com/src/contrib/stringr_1.5.0.tar.gz'
Content type 'application/x-gzip' length 175699 bytes (171 KB)
==================================================
downloaded 171 KB

trying URL 'https://cran.rstudio.com/src/contrib/tinytex_0.45.tar.gz'
Content type 'application/x-gzip' length 33082 bytes (32 KB)
==================================================
downloaded 32 KB

trying URL 'https://cran.rstudio.com/src/contrib/xfun_0.39.tar.gz'
Content type 'application/x-gzip' length 135480 bytes (132 KB)
==================================================
downloaded 132 KB

trying URL 'https://cran.rstudio.com/src/contrib/yaml_2.3.7.tar.gz'
Content type 'application/x-gzip' length 94330 bytes (92 KB)
==================================================
downloaded 92 KB

trying URL 'https://cran.rstudio.com/src/contrib/rmarkdown_2.22.tar.gz'
Content type 'application/x-gzip' length 2184560 bytes (2.1 MB)
==================================================
downloaded 2.1 MB

* installing *source* package ‘fs’ ...
** package ‘fs’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: line 1: make: command not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/fs’
* installing *source* package ‘rappdirs’ ...
** package ‘rappdirs’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: line 1: make: command not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/rappdirs’
* installing *source* package ‘base64enc’ ...
** package ‘base64enc’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: line 1: make: command not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/base64enc’
* installing *source* package ‘mime’ ...
** package ‘mime’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: line 1: make: command not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/mime’
* installing *source* package ‘rlang’ ...
** package ‘rlang’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: line 1: make: command not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/rlang’
* installing *source* package ‘digest’ ...
** package ‘digest’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: line 1: make: command not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/digest’
* installing *source* package ‘fastmap’ ...
** package ‘fastmap’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: line 1: make: command not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/fastmap’
* installing *source* package ‘cli’ ...
** package ‘cli’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: line 1: make: command not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/cli’
* installing *source* package ‘glue’ ...
** package ‘glue’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: line 1: make: command not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/glue’
* installing *source* package ‘magrittr’ ...
** package ‘magrittr’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: line 1: make: command not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/magrittr’
* installing *source* package ‘stringi’ ...
** package ‘stringi’ successfully unpacked and MD5 sums checked
** using staged installation
/usr/lib64/R/bin/config: line 187: make: command not found
/usr/lib64/R/bin/config: line 188: make: command not found
/usr/lib64/R/bin/config: line 189: make: command not found
/usr/lib64/R/bin/config: line 190: make: command not found
/usr/lib64/R/bin/config: line 191: make: command not found
/usr/lib64/R/bin/config: line 340: make: command not found
Error in system2(file.path(R.home("bin"), "R"), c("CMD", "config", x),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/stringi’
* installing *source* package ‘jsonlite’ ...
** package ‘jsonlite’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: line 1: make: command not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/jsonlite’
* installing *source* package ‘xfun’ ...
** package ‘xfun’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: line 1: make: command not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/xfun’
* installing *source* package ‘yaml’ ...
** package ‘yaml’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
sh: line 1: make: command not found
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  : 
  error in running command
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/yaml’
ERROR: dependencies ‘rlang’, ‘fastmap’ are not available for package ‘cachem’
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/cachem’
ERROR: dependency ‘rlang’ is not available for package ‘ellipsis’
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/ellipsis’
ERROR: dependency ‘xfun’ is not available for package ‘highr’
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/highr’
ERROR: dependencies ‘cli’, ‘glue’, ‘rlang’ are not available for package ‘lifecycle’
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/lifecycle’
ERROR: dependency ‘xfun’ is not available for package ‘tinytex’
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/tinytex’
ERROR: dependencies ‘rlang’, ‘cachem’ are not available for package ‘memoise’
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/memoise’
ERROR: dependencies ‘cli’, ‘glue’, ‘lifecycle’, ‘rlang’ are not available for package ‘vctrs’
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/vctrs’
ERROR: dependencies ‘digest’, ‘base64enc’, ‘rlang’, ‘fastmap’, ‘ellipsis’ are not available for package ‘htmltools’
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/htmltools’
ERROR: dependencies ‘highr’, ‘xfun’, ‘yaml’ are not available for package ‘knitr’
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/knitr’
ERROR: dependencies ‘fs’, ‘rlang’, ‘htmltools’, ‘rappdirs’ are not available for package ‘sass’
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/sass’
ERROR: dependencies ‘rlang’, ‘htmltools’ are not available for package ‘fontawesome’
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/fontawesome’
ERROR: dependency ‘htmltools’ is not available for package ‘jquerylib’
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/jquerylib’
ERROR: dependencies ‘cli’, ‘glue’, ‘lifecycle’, ‘magrittr’, ‘rlang’, ‘stringi’, ‘vctrs’ are not available for package ‘stringr’
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/stringr’
ERROR: dependencies ‘base64enc’, ‘cachem’, ‘htmltools’, ‘jquerylib’, ‘jsonlite’, ‘memoise’, ‘mime’, ‘rlang’, ‘sass’ are not available for package ‘bslib’
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/bslib’
ERROR: dependencies ‘bslib’, ‘fontawesome’, ‘htmltools’, ‘jquerylib’, ‘jsonlite’, ‘knitr’, ‘stringr’, ‘tinytex’, ‘xfun’, ‘yaml’ are not available for package ‘rmarkdown’
* removing ‘/home/nico/R/x86_64-pc-linux-gnu-library/4.3/rmarkdown’

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


✔ Packages successfully installed.

If you would like help addressing the errors ; you are advised to share the error text with us.

1 Like

@nirgrahamuk Of course, done

What stands out is "make: command not found"
make is a unix/linux utility for automating software compilation

There will be Operating System default ways to install it; for example on Ubuntu something like 'sudo apt install build-essential'
There is also a generic GNU make that could be tried Make - GNU Project - Free Software Foundation

Hi, I'm also facing similar error while trying to install some packages in R. I'm relatively new to R, and I don't know how to resolve them. Could anyone please help me?

Issue: I tried to install tidyverse package with the command install.packages("tidyverse")
But I got the following error.

Installing package into ‘/home/joshua/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’, ‘rematch’, ‘askpass’, ‘bit64’, ‘prettyunits’, ‘processx’, ‘evaluate’, ‘highr’, ‘xfun’, ‘yaml’, ‘bslib’, ‘fontawesome’, ‘htmltools’, ‘jquerylib’, ‘tinytex’, ‘backports’, ‘ellipsis’, ‘generics’, ‘glue’, ‘lifecycle’, ‘memoise’, ‘blob’, ‘DBI’, ‘tidyselect’, ‘vctrs’, ‘data.table’, ‘gtable’, ‘isoband’, ‘scales’, ‘gargle’, ‘uuid’, ‘cellranger’, ‘curl’, ‘ids’, ‘rematch2’, ‘cpp11’, ‘mime’, ‘openssl’, ‘timechange’, ‘fansi’, ‘utf8’, ‘systemfonts’, ‘textshaping’, ‘clipr’, ‘crayon’, ‘vroom’, ‘tzdb’, ‘progress’, ‘callr’, ‘fs’, ‘knitr’, ‘rmarkdown’, ‘selectr’, ‘stringi’, ‘broom’, ‘conflicted’, ‘cli’, ‘dbplyr’, ‘dplyr’, ‘dtplyr’, ‘forcats’, ‘ggplot2’, ‘googledrive’, ‘googlesheets4’, ‘haven’, ‘hms’, ‘httr’, ‘jsonlite’, ‘lubridate’, ‘magrittr’, ‘modelr’, ‘pillar’, ‘purrr’, ‘ragg’, ‘readr’, ‘readxl’, ‘reprex’, ‘rlang’, ‘rstudioapi’, ‘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/sys_3.4.2.tar.gz'
Content type 'application/x-gzip' length 20169 bytes (19 KB)
==================================================
downloaded 19 KB

trying URL 'https://cloud.r-project.org/src/contrib/bit_4.0.5.tar.gz'
Content type 'application/x-gzip' length 827745 bytes (808 KB)
==================================================
downloaded 808 KB

trying URL 'https://cloud.r-project.org/src/contrib/ps_1.7.5.tar.gz'
Content type 'application/x-gzip' length 129213 bytes (126 KB)
==================================================
downloaded 126 KB

trying URL 'https://cloud.r-project.org/src/contrib/base64enc_0.1-3.tar.gz'
Content type 'application/x-gzip' length 7833 bytes
==================================================
downloaded 7833 bytes

trying URL 'https://cloud.r-project.org/src/contrib/sass_0.4.6.tar.gz'
Content type 'application/x-gzip' length 3024838 bytes (2.9 MB)
==================================================
downloaded 2.9 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/cachem_1.0.8.tar.gz'
Content type 'application/x-gzip' length 26510 bytes (25 KB)
==================================================
downloaded 25 KB

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

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

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

trying URL 'https://cloud.r-project.org/src/contrib/rematch_1.0.1.tar.gz'
Content type 'application/x-gzip' length 3719 bytes
==================================================
downloaded 3719 bytes

trying URL 'https://cloud.r-project.org/src/contrib/askpass_1.1.tar.gz'
Content type 'application/x-gzip' length 5730 bytes
==================================================
downloaded 5730 bytes

trying URL 'https://cloud.r-project.org/src/contrib/bit64_4.0.5.tar.gz'
Content type 'application/x-gzip' length 135091 bytes (131 KB)
==================================================
downloaded 131 KB

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

trying URL 'https://cloud.r-project.org/src/contrib/processx_3.8.1.tar.gz'
Content type 'application/x-gzip' length 164170 bytes (160 KB)
==================================================
downloaded 160 KB

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

trying URL 'https://cloud.r-project.org/src/contrib/highr_0.10.tar.gz'
Content type 'application/x-gzip' length 15084 bytes (14 KB)
==================================================
downloaded 14 KB

trying URL 'https://cloud.r-project.org/src/contrib/xfun_0.39.tar.gz'
Content type 'application/x-gzip' length 135480 bytes (132 KB)
==================================================
downloaded 132 KB

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

trying URL 'https://cloud.r-project.org/src/contrib/bslib_0.5.0.tar.gz'
Content type 'application/x-gzip' length 4917051 bytes (4.7 MB)
==================================================
downloaded 4.7 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/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/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/tinytex_0.45.tar.gz'
Content type 'application/x-gzip' length 33082 bytes (32 KB)
==================================================
downloaded 32 KB

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

trying URL 'https://cloud.r-project.org/src/contrib/ellipsis_0.3.2.tar.gz'
Content type 'application/x-gzip' length 8066 bytes
==================================================
downloaded 8066 bytes

trying URL 'https://cloud.r-project.org/src/contrib/generics_0.1.3.tar.gz'
Content type 'application/x-gzip' length 172201 bytes (168 KB)
==================================================
downloaded 168 KB

trying URL 'https://cloud.r-project.org/src/contrib/glue_1.6.2.tar.gz'
Content type 'application/x-gzip' length 106510 bytes (104 KB)
==================================================
downloaded 104 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/fastmap’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/colorspace’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/sys’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/bit’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/ps’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/base64enc’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/digest’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/farver’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/rappdirs’
* installing *source* package ‘rematch’ ...
** package ‘rematch’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (rematch)
* installing *source* package ‘prettyunits’ ...
** package ‘prettyunits’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (prettyunits)
* installing *source* package ‘evaluate’ ...
** package ‘evaluate’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (evaluate)
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/xfun’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/yaml’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/backports’
* installing *source* package ‘generics’ ...
** package ‘generics’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (generics)
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/glue’
* installing *source* package ‘DBI’ ...
** package ‘DBI’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (DBI)
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/data.table’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/isoband’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/uuid’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/curl’
* installing *source* package ‘cpp11’ ...
** package ‘cpp11’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (cpp11)
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/mime’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/fansi’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/utf8’
* installing *source* package ‘clipr’ ...
** package ‘clipr’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (clipr)
* installing *source* package ‘crayon’ ...
** package ‘crayon’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (crayon)
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/fs’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/stringi’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/cli’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/jsonlite’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/magrittr’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/rlang’
* installing *source* package ‘rstudioapi’ ...
** package ‘rstudioapi’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (rstudioapi)
* installing *source* package ‘xml2’ ...
** package ‘xml2’ 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/xml2’
ERROR: dependencies ‘rlang’, ‘fastmap’ are not available for package ‘cachem’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/cachem’
ERROR: dependency ‘colorspace’ is not available for package ‘munsell’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/munsell’
ERROR: dependency ‘sys’ is not available for package ‘askpass’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/askpass’
ERROR: dependency ‘bit’ is not available for package ‘bit64’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/bit64’
ERROR: dependency ‘ps’ is not available for package ‘processx’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/processx’
ERROR: dependency ‘xfun’ is not available for package ‘highr’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/highr’
ERROR: dependency ‘xfun’ is not available for package ‘tinytex’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/tinytex’
ERROR: dependency ‘rlang’ is not available for package ‘ellipsis’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/ellipsis’
ERROR: dependencies ‘cli’, ‘glue’, ‘rlang’ are not available for package ‘lifecycle’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/lifecycle’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/timechange’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/systemfonts’
* 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/joshua/R/x86_64-pc-linux-gnu-library/4.3/tzdb’
ERROR: dependencies ‘digest’, ‘base64enc’, ‘rlang’, ‘fastmap’, ‘ellipsis’ are not available for package ‘htmltools’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/htmltools’
ERROR: dependencies ‘rlang’, ‘cachem’ are not available for package ‘memoise’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/memoise’
ERROR: dependencies ‘cli’, ‘glue’, ‘lifecycle’, ‘rlang’ are not available for package ‘vctrs’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/vctrs’
ERROR: dependencies ‘cli’, ‘glue’, ‘lifecycle’, ‘magrittr’, ‘pillar’, ‘rlang’, ‘tibble’, ‘tidyselect’, ‘vctrs’ are not available for package ‘dplyr’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/dplyr’
ERROR: dependencies ‘cli’, ‘glue’, ‘lifecycle’, ‘magrittr’, ‘rlang’, ‘tibble’ are not available for package ‘forcats’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/forcats’
ERROR: dependencies ‘cli’, ‘glue’, ‘gtable’, ‘isoband’, ‘lifecycle’, ‘rlang’, ‘scales’, ‘tibble’, ‘vctrs’ are not available for package ‘ggplot2’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/ggplot2’
ERROR: dependencies ‘cli’, ‘gargle’, ‘glue’, ‘httr’, ‘jsonlite’, ‘lifecycle’, ‘magrittr’, ‘pillar’, ‘purrr’, ‘rlang’, ‘tibble’, ‘uuid’, ‘vctrs’ are not available for package ‘googledrive’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/googledrive’
ERROR: dependencies ‘glue’, ‘cli’, ‘httr’, ‘lifecycle’, ‘magrittr’, ‘rlang’, ‘selectr’, ‘tibble’, ‘xml2’ are not available for package ‘rvest’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/rvest’
ERROR: dependencies ‘cli’, ‘data.table’, ‘dplyr’, ‘glue’, ‘lifecycle’, ‘rlang’, ‘tibble’, ‘tidyselect’, ‘vctrs’ are not available for package ‘dtplyr’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/dtplyr’
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/joshua/R/x86_64-pc-linux-gnu-library/4.3/googlesheets4’
ERROR: dependencies ‘cli’, ‘hms’, ‘lifecycle’, ‘rlang’, ‘tibble’, ‘vroom’, ‘tzdb’ are not available for package ‘readr’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/readr’
ERROR: dependencies ‘cellranger’, ‘tibble’, ‘progress’ are not available for package ‘readxl’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/readxl’
ERROR: dependencies ‘callr’, ‘cli’, ‘fs’, ‘glue’, ‘knitr’, ‘lifecycle’, ‘rlang’, ‘rmarkdown’ are not available for package ‘reprex’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/reprex’
ERROR: dependencies ‘cli’, ‘dplyr’, ‘glue’, ‘lifecycle’, ‘magrittr’, ‘purrr’, ‘rlang’, ‘stringr’, ‘tibble’, ‘tidyselect’, ‘vctrs’ are not available for package ‘tidyr’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/tidyr’
ERROR: dependencies ‘backports’, ‘dplyr’, ‘ellipsis’, ‘glue’, ‘lifecycle’, ‘purrr’, ‘rlang’, ‘stringr’, ‘tibble’, ‘tidyr’ are not available for package ‘broom’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/broom’
ERROR: dependencies ‘blob’, ‘cli’, ‘dplyr’, ‘glue’, ‘lifecycle’, ‘magrittr’, ‘pillar’, ‘purrr’, ‘rlang’, ‘tibble’, ‘tidyr’, ‘tidyselect’, ‘vctrs’ are not available for package ‘dbplyr’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/dbplyr’
ERROR: dependencies ‘cli’, ‘forcats’, ‘hms’, ‘lifecycle’, ‘readr’, ‘rlang’, ‘tibble’, ‘tidyselect’, ‘vctrs’ are not available for package ‘haven’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/haven’
ERROR: dependencies ‘broom’, ‘magrittr’, ‘purrr’, ‘rlang’, ‘tibble’, ‘tidyr’, ‘tidyselect’, ‘vctrs’ are not available for package ‘modelr’
* removing ‘/home/joshua/R/x86_64-pc-linux-gnu-library/4.3/modelr’
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/joshua/R/x86_64-pc-linux-gnu-library/4.3/tidyverse’

The downloaded source packages are in
	‘/tmp/Rtmp12w6XR/downloaded_packages’
There were 50 or more warnings (use warnings() to see the first 50)
> library(tidyverse)
Error in library(tidyverse) : there is no package called ‘tidyverse’
> library("tidyverse")
Error in library("tidyverse") : there is no package called ‘tidyverse’

You don't have compilers and/or build tools on your machine. What is your OS? E.g. on Ubuntu you need to run

apt-get install build-essential

Hi @Gabor
Thank you for your suggestion. :slight_smile:
Yes, I'm using Ubuntu. I was able to resolve the issue with this command

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

This topic was automatically closed 42 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.