Skip to content
Collect, stow, and alphabetise library() calls in your R files.
R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
inst
man
tests
.Rbuildignore
.gitignore
DESCRIPTION
LICENSE
NAMESPACE
NEWS.md
README.md
packup.Rproj

README.md

packup

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.

Otherwise, enjoy!

Usage

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.

alphabetical!

Installation

devtools::install_github("milesmcbain/packup")

Acknowledgements

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!

You can’t perform that action at this time.