How do I access the packageVersions() (or similar command, like sessionInfo()) of an rds object or .Rdata object from MONTHS ago? I simply would like to know: what package versions was I using at THAT time?
For context: I am running single cell analyses with Seurat. I try restarting the session and simply loading the object to my environment-- but when I run any of the above commands, only the ambient/'current' package versions pop up (I presume they are automatically loaded when the object is), and I know those are certainly not the full extent of the packages used and I can tell they are newer versions. Therefore, I load the rest of the packages, but as expected, they have all updated to newer versions (I had highly likely done so in other single cell experiment projects I have been running at the same time). I am having dependency issues in not being able to run a function that previously worked months ago, so I want to know what package version of that function I used to use which worked. Makes sense?
If it cannot be retrieved, what is your preferred/favorite way to document what package versions you are using in your projects?
Thanks in advance!!