tidyverse and some R version 4.2.0 packages not working on ubuntu 22.04

Although I try to install, this package and others do not work. How to proceed properly?

install.packages("tidyverse", dependencies = T)

Warning in install.packages :
installation of package ‘ggplot2’ had non-zero exit status
ERROR: dependency ‘ggplot2’ is not available for package ‘tidyverse’

  • removing ‘/home/vitor/R/x86_64-pc-linux-gnu-library/4.2/tidyverse’
    Warning in install.packages :
    installation of package ‘tidyverse’ had non-zero exit status

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

please provide the full log for when you do

install.packages("ggplot2", dependencies = T)

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.