tidyverse packages not loading correctly and error message shows up

Hi all,
I am brand new in R and learning at the moment. I have installed tidyverse packages but I see an error message when I tried to load it. It seems ggplot2 and rlang need to be updated but I do not know how to do that. Can someone tell me what is going on with this and how to fix this please? Thank you.

Here is the error message that

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 ‘rlang’ 0.4.11 is already loaded, but >= 1.1.0 is required

This message is asking for


Thank you so much. I just restarted the RStudio and the issue seems to be resolved.

1 Like

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.