This function detects and installs packages listed in the renv.lock file but absent from the project-specific library. It is particularly helpful when using RStudio Job Launcher, as in some cases, packages in a renv project might be used from the library located on the server machine, which will be inaccessible to the jobs.