Skip to main content

A configurable installer CLI for installing R from source (sudo and non-sudo).

Project description

rinse

A CLI for installing R.

Currently works with:

  • Repos: CRAN
  • Installation Methods: Source
  • Supported OS: Linux
  • Permission Level: Sudo, Non-sudo

Will work with:

  • Repos: Microsoft R Open
  • Installation Methods: Spack, Local
  • Supported OS: MacOS, Windows

Installation

Currently, rinse is in the alpha stage of development. The latest release can be installed from PyPI or the development version can be installed from the dev-master branch on GitHub.

Latest Release

[ $ ] pip install rinstall

Development Version

Create a VE called rinse using your tool of choice:

  • pyenv
  • poetry
  • pipenv
  • virtualenv
  • virtualenvwrapper
  • conda
  • pew
  • python -m venv

After making a VE install poetry into it:

[ $ ] python -m venv ~/.env/rinse
[ $ ] source ~/.env/rinse/bin/activate
(rinse) [ $ ] pip install poetry
...
(rinse) [ $ ] mkdir GitHub; cd Github
(rinse) [ ~/Github $ ] git clone -b dev-master https://github.com/datasnakes/rinse.git
(rinse) [ ~/Github $ ] cd rinse
(rinse) [ ~/Github/rinse $ ] poetry install
...

Initialize Rinse

Before you do anything, rinstall must be initialized or you will get an error:

(rinse) [ ~/Github/rinse $ ] rinse init

Simple Usage

You can install the latest version of R into your home directory with a single short command:

(rinse) [ ~/Github/rinse $ ] rinse install
# or
(rinse) [ ~/Github/rinse $ ] rinse install latest
# or
(rinse) [ ~/Github/rinse $ ] rinse install 3.5.3

Note: Be aware that R can take around 20 minutes to install.

Alternate Usage

First note:

(rinse) [ ~/Github/rinse $ ] rinse configure --help # configure script help (./configure --help)
# is different from
(rinse) [ ~/Github/rinse $ ] rinse configure --chelp # rinse cli help

Here's how you can work through various installation steps:

(rinse) [ ~/Github/rinse $ ] rinse configure 3.5.3
(rinse) [ ~/Github/rinse $ ] rinse make --check 3.5.3
(rinse) [ ~/Github/rinse $ ] rinse make --install 3.5.3 
(rinse) [ ~/Github/rinse $ ] rinse make --install-tests 3.5.3
(rinse) [ ~/Github/rinse $ ] rinse test --check --check-devel --check-all 3.5.3

Maintainers

  • Kristen Bystrom
  • Rob Gilmore
  • Bruno Grande
  • Shaurita Hutchins

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rinstall-0.2.3.tar.gz (9.4 kB view hashes)

Uploaded Source

Built Distribution

rinstall-0.2.3-py3-none-any.whl (10.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page