returnString/rip

simple package management for R

★ 1Forks 0RGitHub ↗Compare

README

rip

Simple package management for R.

Commands

  • rip init initialises an empty manifest
  • rip install <package> installs one or more packages and records them in your manifest
  • rip restore installs all packages referenced in your manifest
  • rip list displays a list of currently installed packages with their versions

Example

Firstly, someone creates a project, installs Shiny and ggplot2, then uploads the project to GitHub.

mkdir myproject
cd myproject

rip init
rip install ggplot2 shiny

git init
git add .
git commit -m "My first R dependencies!"
git remote add origin [email protected]:user/myproject.git
git push origin HEAD

A second user then clones the project and restores.

git clone [email protected]:user/myproject.git
cd myproject

rip restore

Both users now have all the dependencies required to run the app, without using install.packages manually.

Contributors

returnString

Issues