I am unable to install any R package in Rstudio. I have tried several options I found online but no success so far.
Bellow you can find part of the output I got when I'm trying install ggplot.
ERROR: dependencies ‘ellipsis’, ‘digest’, ‘glue’, ‘rlang’ are not available for package ‘vctrs’
* removing ‘/home/lfs/R/x86_64-pc-linux-gnu-library/3.4/vctrs’
Warning in install.packages :
installation of package ‘vctrs’ had non-zero exit status
ERROR: dependencies ‘farver’, ‘lifecycle’, ‘munsell’ are not available for package ‘scales’
* removing ‘/home/lfs/R/x86_64-pc-linux-gnu-library/3.4/scales’
Warning in install.packages :
installation of package ‘scales’ had non-zero exit status
ERROR: dependencies ‘callr’, ‘cli’, ‘desc’, ‘rprojroot’ are not available for package ‘pkgbuild’
* removing ‘/home/lfs/R/x86_64-pc-linux-gnu-library/3.4/pkgbuild’
Warning in install.packages :
installation of package ‘pkgbuild’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘fansi’, ‘rlang’, ‘utf8’, ‘vctrs’ are not available for package ‘pillar’
* removing ‘/home/lfs/R/x86_64-pc-linux-gnu-library/3.4/pillar’
Warning in install.packages :
installation of package ‘pillar’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘desc’, ‘pkgbuild’, ‘rlang’, ‘rprojroot’ are not available for package ‘pkgload’
* removing ‘/home/lfs/R/x86_64-pc-linux-gnu-library/3.4/pkgload’
Warning in install.packages :
installation of package ‘pkgload’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘ellipsis’, ‘fansi’, ‘lifecycle’, ‘pillar’, ‘rlang’, ‘vctrs’ are not available for package ‘tibble’
* removing ‘/home/lfs/R/x86_64-pc-linux-gnu-library/3.4/tibble’
Warning in install.packages :
installation of package ‘tibble’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘digest’, ‘ellipsis’, ‘pkgload’, ‘rlang’ are not available for package ‘testthat’
* removing ‘/home/lfs/R/x86_64-pc-linux-gnu-library/3.4/testthat’
Warning in install.packages :
installation of package ‘testthat’ had non-zero exit status
ERROR: dependencies ‘Rcpp’, ‘testthat’ are not available for package ‘isoband’
* removing ‘/home/lfs/R/x86_64-pc-linux-gnu-library/3.4/isoband’
Warning in install.packages :
installation of package ‘isoband’ had non-zero exit status
ERROR: dependencies ‘digest’, ‘glue’, ‘isoband’, ‘rlang’, ‘scales’, ‘tibble’ are not available for package ‘ggplot2’
* removing ‘/home/lfs/R/x86_64-pc-linux-gnu-library/3.4/ggplot2’
Warning in install.packages :
installation of package ‘ggplot2’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpD7kTMG/downloaded_packages’
Thanks