Tidyverse Does Not Stay Installed

I have to reinstall tidyverse every time I open a new project.
I type

install.packages("tidyverse")

into the workspace and once it finishes it says

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

This makes me believe I have it installed correctly.
However, if I open a new project and type

library(tidyverse)

I receive

Error in library(tidyverse) : there is no package called ‘tidyverse’
and am forced to reinstall tidyverse.

What am I doing wrong?

If you are using Posit Cloud, a new project starts with only the packages from base R. You will need to install any other required packages like {tidyverse}. This is different from the desktop version of RStudio where all the projects share the same package library.

Exactly what I needed to know (and had not previously been told in my course). Thank you!

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