Is there a functionality like requirements.txt in Python, where you can store a list of packages used into a file, and whenever other people want to run your programs and need to install the dependencies, they can just do pip install -r requirements.txt.
I think, this helps a lot when deploying R script into production. If there is no such functionality, how do I replicate it?