Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/roaldarbol/rpix
🌳 rpix: R Interface for pixi
https://github.com/roaldarbol/rpix
Last synced: 18 days ago
JSON representation
🌳 rpix: R Interface for pixi
- Host: GitHub
- URL: https://github.com/roaldarbol/rpix
- Owner: roaldarbol
- License: other
- Created: 2024-01-16T17:00:13.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-07-22T22:14:41.000Z (4 months ago)
- Last Synced: 2024-10-12T07:36:44.526Z (about 1 month ago)
- Language: R
- Homepage: https://www.roald-arboel.com/rpix/
- Size: 4.87 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS.md
- License: LICENSE
Awesome Lists containing this project
README
![License](https://img.shields.io/badge/license-MIT-blue.png)
[![Project
Chat](https://img.shields.io/discord/1082332781146800168.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/kKV8ZxyzY4)
[![Pixi
Badge](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/prefix-dev/pixi/main/assets/badge/v0.json)](https://pixi.sh)**rpix is currently in alpha. We don’t expect to support the entire pixi
CLI, but are open to implement useful features - feedback is welcome!**## Overview
The **rpix** package provides an interface to manage dependencies with
[pixi](https://pixi.sh).## Installation
**rpix** depends on having **pixi** installed - so if you haven’t got it
yet, install pixi first.- **Project template**. For a fully-fledged, ready-to-use R project,
create a project with the
[r-template](https://github.com/roaldarbol/r-template)
- **Add to existing project**. To add **rpix** to an existing pixi
project: `pixi add r-rpix```` r
install.packages('devtools')
devtools::install_github('roaldarbol/rpix')
```## Resources
## How to use rpix
``` r
library(rpix)
```The primary use of rpix is the ability to add dependencies in the
console like you normally would with `install.packages` or
`renv::install`. With rpix, the command is `add`. Let’s try installing
the **tidyverse**:pixi::add("tidyverse")
------------------------------------------------------------------------
*Fun fact: rpix is a inspired by the Danish word **harpiks** which means
resin. I see it as the resin that binds pixi into the natural R
workflow.*