rix 0.4.1 (2023-10-06)
Bug fixes
rix::rix(): fix missingpkgs.mkShellwhenshell_hook = NULL.
Bothshell_hook = ""andshell_hook = NULLare now producing valid nix
expressions.
Rix: Reproducible Environments with Nix
{rix} is a toolkit in R that eases the creation of reprodublible and isolated R environments 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 CRANsystem_pkgs: any other systems tools available from Nix (e.g. Julia, Rust,
quarto CLI, etc.)git_pkgs: R packages and versions from GitHubtex_pkgs: Set of LaTeX packages to installide: interactive development environment; currently we support RStudio,
VSCode, and "other"project_pathoverwrite-
print
shell_hook: Commands added viashellHookthat get executed when entering in Nix shell environemnt
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.