Skip to content

auwerxlab/renku-r-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A toolbox to work with R projects on Renku

https://img.shields.io/github/v/release/auwerxlab/renku-r-tools https://img.shields.io/pypi/v/renku-r-tools Documentation Status

Renku-r-tools is a small python package that provides a CLI to setup R projects on Renku.

Features:

  • Replace the packrat-managed libraries of a R project by symbolic links. This is useful when relocating packrat libraries from the R project directory to the docker image.
  • Replace the renv-managed libraries of a R project by symbolic links. This is useful when relocating renv libraries from the R project directory to the docker image.

Installation

The latest release is available on PyPI and can be installed using pip:

$ pip install renku-r-tools

Isolated environments using pipx

Install and execute renku-r-tools in an isolated environment using pipx.

Install pipx and make sure that the $PATH is correctly configured.

$ python3 -m pip install --user pipx
$ pipx ensurepath

Once pipx is installed use following command to install renku-r-tools.

$ pipx install renku-r-tools
$ which renku-r-tools
~/.local/bin/renku-r-tools

Usage

The latest documentation is available on https://readthedocs.org.