How do you keep R package versions reproducible across machines with renv or packrat?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks how to keep package versions and dependencies reproducible across machines in an R project, using tools such as renv or packrat. Tests whether you know the lockfile workflow, how the two tools differ, and what package pinning leaves out.