This isn't an answer to your question per se, but if you're going to be working on the same project across computers I would encourage you to explicitly track its dependencies with {renv}. You can then much more easily restore libraries on a per-project basis. The feature is working on my machine, so you would need to confirm that all your computers are running the same versions of R and RStudio, that the global and user libraries don't contain the packages you're looking for, etc.