ir is a command-line tool that runs self-describing R scripts and renders Quarto documents. You embed package requirements and R version constraints directly in the script’s frontmatter, and ir resolves dependencies, prepares a cached library, and executes the file — no separate environment setup needed.
ir caches resolved environments aggressively, so repeated runs with the same requirements skip dependency resolution entirely. It supports reproducibility features like pinning package versions, selecting R versions via rig, and freezing CRAN/Bioconductor snapshots to a specific date with exclude-newer. It also provides rx for running package-bundled executables and a tool store for persistent launchers, making it practical for single-file workflows that don’t warrant a full project directory.