I have an RStudio project that uses renv. I recently upgraded my core R version, and had to reinstall the packages from the original lockfile. Now each time I open the project I get this message:
Using R 4.4.2 (lockfile was generated with R 4.3.1)
- Project {my_project} loaded. [renv 1.0.11]
- One or more packages recorded in the lockfile are not installed.
- Use `renv::status()` for more details.
When I explore my_project/renv/library... I see all the packages duly sitting there.
How can I make RStudio / renv recognise the packages are already installed, rather than reinstalling them all each time I open the project?