Skip to content

albersonmiranda/rip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rip

rip (R Install Package) is a lightweight CLI wrapper around Rscript written in Rust that simplifies installing R packages through terminal commands.

Features

  • Install single or multiple packages in one command
  • Default CRAN mirror set to https://cloud.r-project.org/
  • Optionally specify a different repository with -r / --repository
  • Optionally install to a library path with -l / --library

Prerequisites

  • Rust toolchain (e.g., via rustup)
  • R with Rscript available on your PATH

Installation

cargo install --git https://github.com/albersonmiranda/rip

Usage

rip [OPTIONS] <PACKAGE> [<PACKAGE> ...]

Examples:

# Install a single package
rip ggplot2

# Install multiple packages at once
rip ggplot2 lubridate mlr3

# Use a custom CRAN mirror
rip -r https://cran.rstudio.com/ dplyr

# Install into a specific library path
rip -l /path/to/R/library ggplot2

Options:

-r, --repository <REPOSITORY>   CRAN mirror URL [default: https://cloud.r-project.org/]
-l, --library <LIBRARY>         Path to install package library (optional)
-h, --help                      Print help information
-V, --version                   Print version information

Uninstall

If installed via Cargo:

cargo uninstall rip

Contributing

Contributions, issues, and feature requests are welcome! Feel free to open a PR or issue.

License

This project is licensed under the MIT License. See LICENSE for details.

About

A lightweight CLI tool to effortlessly install R packages through the terminal.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages