"roll back" to likely environment by date

Hi all,

I have inherited some shiny code that was known (by me) to work correctly at a date last Summer (2019). The code no longer runs properly, generating a plethora of errors and warnings. The person before me did not use pack rat or otherwise document which package versions were used. Although the code is generally organized well, some of the approaches taken for many sections of code make debugging difficult to say the least.

I have a bit of a time crunch and while debugging, I am also weighing the option of trying to recreate the package environment I (and he) likely had at the time the code worked.

Does anyone know of a good method to "rollback" an rstudio environment (installed packages) based on date?