Is there something like requirements.txt for R?
<p>Is there a functionality like <code>requirements.txt</code> 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 <code>pip install -r requirements.txt</code>. </p>

<p>I think, this helps a lot when deploying R script into production. If there is no such functionality, how do I replicate it?</p>