R not working correctly

I am new to R and I don't know how to navigate it properly yet and when I tried to install the packages, this is the message I am seeing:

Error: package or namespace load failed for ‘tidyverse’:
.onAttach failed in attachNamespace() for 'tidyverse', details:
call: NULL
error: package or namespace load failed for ‘ggplot2’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
namespace ‘vctrs’ 0.3.8 is being loaded, but >= 0.5.0 is required
In addition: Warning messages:
1: package ‘tidyverse’ was built under R version 4.1.2
2: package ‘ggplot2’ was built under R version 4.1.2

I tried reinstalling Rstudio, didn't work. I have been trying to update tidy verse package but under the tools, update packages list doesn't show it only. What should I do?

Try to update R: The Comprehensive R Archive Network

Hi @ak■■■■a , try to install a new version of library vctrs because this said that you need a more new version.
Next try to install tidyverse.

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.