rix 0.1.2
Bug fixes
- Patch
inst/exdata/default.nixby removingLOCALE_ARCHIVEshellHook, that was set to
glibc locale. This makes surenix-builddoes not fail on MacOS anymore (#40; fixed with 37f7ab8). Please note that this is a temporary fix that works, but it gives a startup warning in R for linux that the locale categories were set to "C". nix_build(): fix defensive check so the error message is referring toproject_pathinstead ofnix_file. The patch does not change correct behavior ofnix_build(), hence it is only of cosmetic nature.
Rix: Reproducible Environments with Nix
{rix} is a toolkit in R that eases the creation of reprodublible and isolated R environments (and beyond) using Nix and the Nix Packages collection.
The goal is to enable a frictionless infrastructure-as-code approach for all three major operating systems: linux, macOS and Windows (via WSL2). {nix} equips you with handy helpers so that you can derive a project-based Nix setup without diving too deep into the language and packaging specifics of Nix.
rix() is one of the main functions, which you can use to bootstrap default.nix files by providing these arguments:
r_ver: R version or corresponding Nix R revisionr_pkgs: R packages and versions from CRANother_pkgs: any other systems tools available from Nix (e.g. Julia, Rust,
quarto CLI, etc.)git_pkgs: R packages and versions from GitHubide: interactive development environment; currently we support RStudio,
VSCode, and "other"
A lot of new cool features are underway in upcoming versions. Please check out the changelog above or NEWS.md for features, bug fixes and eventual changes in new features. The issue tracker is the recommended way to report problems and to follow development plans and progress.