Bruno Rodrigues, head of the statistics department at the Ministry of Research and Higher Education in Luxembourg
Slides available online:
https://b-rodrigues.github.io/repro_r_pharma
Code available here:
{renv} or {groundhog}: simple to use, but:
Package manager: tool for installing and managing packages
Package: any software (not just R packages)
A popular package manager:
{rix} (website) simplifies writing Nix expressions!rix() function:rix::rix() generates a default.nix filenix-build (in terminal) or rix::nix_build() from Rnix-shellrix() supports Python and Julia alongside R:jl_conf = list(jl_version = "1.10", jl_pkgs = c(...))scripts/nix_expressions/02_native_positron_example/scripts/nix_expressions/01_rix_intro/scripts/nix_expressions/02_native_positron_example/{targets}: scripts/nix_expressions/03_nix_targets_pipelinescripts/nix_expressions/04_docker/{shiny}: scripts/nix_expressions/05_shiny{rixpress}{rixpress} allows chaining processing steps in R, Python and Julia{rix} to create a reproducible (via Nix) execution environment for the pipelinereticulate or universal format (JSON)py, r, r2py, etc.)functions.R, images…)my_analysis/
├── tproject.toml # Project configuration and dependencies
├── flake.nix # Reproducible environment definition
├── README.md # Project overview
├── AGENTS.md # Onboarding guide for AI Agents
├── T-LANGUAGE-REFERENCE.md # Tiered language reference for LLMs (git-ignored)
├── src/
│ └── pipeline.t # Your main analysis script
├── data/ # Place your raw data files here
├── outputs/ # Output directory for results
└── tests/ # Unit tests for your analysistproject.tomlt updatenix developAGENTS.md, T-LANGUAGE-REFERENCE.md and src/pipeline.t itself is a cheatsheetContact me if you have questions:
Thanks!