In the midst of hot and heavy analysis you can't be bothered scrolling up to the top to put in the
library() calls. Let
packup do it for you later. Alphabetised...and deduped! Because these things matter OK.
A word of warning: packup is like an OCD robo-vac for your code. And just like a robo-vac, you need to take precautions against it spreading shit everywhere. This addin WILL CHANGE YOUR CODE. SAVE. YOUR. FILES.! Do it! Or I promise you Jenny Bryan will set your laptop on fire.
packup is an RStudio addin. Once the package is installed you can invoke a packup from the RStudio addins menu. Particularly hasty individuls can even bind a hotkey to it.
Thanks to my friends @masalmon and @aammd, and @njtierney for coming up with this idea and inspiring me to make it happen for the great of all!