r-renv

Manages Rocket.Chat rooms, messages, and membership with natural commands.

2|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/MusserLab/lab-claude-skills --skill r-renv
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: r-renv
Source: https://github.com/MusserLab/lab-claude-skills/tree/main/skills/r-renv
Command: npx skills add https://github.com/MusserLab/lab-claude-skills --skill r-renv

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

R renv package management for data science projects helps you create reproducible environments by locking dependencies and R versions across projects. Do NOT load for projects that do not use R or renv.

Core Features & Use Cases

  • R version pinning: Use rig to install and switch between R versions per project.
  • RenV lifecycle: Use renv::restore, renv::snapshot, and renv.lock to manage dependencies across collaborators.
  • Bioconductor compatibility: Ensure Bioconductor package versions align with R version via renv snapshots.

Quick Start

Pin the R version for your project and initialize renv to capture package dependencies.

Frequently Asked Questions about r-renv

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage R package versions for reproducible data science projects?

You can manage R package versions by using renv to create reproducible environments, capturing dependencies in a renv.lock file to ensure consistency across projects, teams, and deployments.

What is the best way to pin a specific R version for a project?

The best way to pin an R version is using rig to install and switch between R versions per project, ensuring the correct R environment is active before initializing renv.

Does renv work with Bioconductor packages?

Yes, renv works with Bioconductor packages by ensuring Bioconductor package versions align with the pinned R version through renv snapshots.

How do I restore R package dependencies for a team project?

You restore R package dependencies by running renv::restore, which reads the renv.lock file and installs the exact package versions captured in the snapshot.

When should I not use renv for R project environment management?

You should not use renv for projects that do not use R or require reproducible environments, as it is specifically designed to manage renv.lock state and fixed R versions.

How do I snapshot R dependencies for collaborators?

You snapshot R dependencies by running renv::snapshot, which captures the current package versions and writes them to the renv.lock file for your collaborators to restore.