Is there any useful way to use renv in an environment that doesn't have access to the internet? The current state is that I have a working analysis with X package versions. My goal is the same as anyone who uses renv - i want access to the exact package versions used to create the analysis. My problem is that I don't have control over package installation (indeed packages could be changed at any moment) nor do I have access to the internet.
So I am wondering if renv can, rather than go to the internet to access packages, it uses the versions of packages I currently have installed at any library tree from .libPaths()
. Is there a way to copy those over into the project directory and use those? That is, i'd like to do that from within renv if possible. This might betray my lack of understanding of exactly how renv works but ultimately I am just wondering how to create a snapshot
when I don't have access to the internet.
Thanks in advance,
Sam