Reproducible Data Science Environments with 'Nix'
List available R versions from Nixpkgs
ga_cachix Build an environment on Github Actions and cache it on Cachi...
generate_rpkgs Internal function that generates the string containing ...
Invoke shell command nix-build
from an R session
Initiate and maintain an isolated, project-specific, and runtime-pure ...
Generate a Nix expression that builds a reproducible development envir...
tar_nix_ga Run a {targets} pipeline on Github Actions.
Evaluate function in R or shell command via nix-shell
environment
Simplifies the creation of reproducible data science environments using the 'Nix' package manager, as described in Dolstra (2006) <ISBN 90-393-4130-3>. The included `rix()` function generates a complete description of the environment as a `default.nix` file, which can then be built using 'Nix'. This results in project specific software environments with pinned versions of R, packages, linked system dependencies, and other tools. Additional helpers make it easy to run R code in 'Nix' software environments for testing and production.