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.
The latest release is available on PyPI and can be installed using pip
:
$ pip install renku-r-tools
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
The latest documentation is available on https://readthedocs.org.