https://github.com/returnstring/rip
simple package management for R
https://github.com/returnstring/rip
Last synced: 12 months ago
JSON representation
simple package management for R
- Host: GitHub
- URL: https://github.com/returnstring/rip
- Owner: returnString
- License: mit
- Created: 2016-08-04T20:57:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-09T21:09:29.000Z (over 9 years ago)
- Last Synced: 2025-01-02T08:40:12.410Z (about 1 year ago)
- Language: R
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# rip
Simple package management for R.
# Commands
- `rip init` initialises an empty manifest
- `rip install ` 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.
```bash
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 git@github.com:user/myproject.git
git push origin HEAD
```
A second user then clones the project and restores.
```bash
git clone git@github.com:user/myproject.git
cd myproject
rip restore
```
Both users now have all the dependencies required to run the app, without using `install.packages` manually.