renv-manager

Automate R project dependency migration to a reproducible renv environment.

1|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/halidaee/econtools_marketplace --skill renv-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: renv-manager
Source: https://github.com/halidaee/econtools_marketplace/tree/main/analytics-toolkit/skills/renv-manager
Command: npx skills add https://github.com/halidaee/econtools_marketplace --skill renv-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams migrate R projects to a hermetic, reproducible renv environment, preventing drift from the global library and reducing analysis disruption.

Core Features & Use Cases

  • Backups before modifying project state to ensure recoverability.
  • Zero-drift hydration by recording exact package versions and restoring environments deterministically.
  • Phase-guided workflow including pre-migration audit, dependency pruning, and verification to minimize risk.
  • Portability and collaboration through documented setup steps and generated lockfile artifacts.
  • Use Case: Transitioning an ongoing project from a global library to renv; migrating dependencies after upgrading R versions to stabilize the project for teammates.

Quick Start

Initialize the migration workflow on your R project by running the guided audit, backup, and hydration steps to create a reproducible renv environment.

Frequently Asked Questions about renv-manager

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

FAQPage Schema
How do I migrate an R project from a global library to a reproducible renv environment?

You can migrate an R project to a reproducible renv environment by running an automated workflow that performs a pre-migration audit, creates a backup, initializes renv, and hydrates dependencies with exact versions to prevent library drift.

What does zero-drift hydration mean when setting up an R environment with renv?

Zero-drift hydration in renv means recording exact package versions in a lockfile and restoring the environment deterministically, ensuring that analysis remains stable and consistent across teammates and systems.

Can I restore exact R package versions for a project after upgrading my R version?

Yes, you can stabilize a project after upgrading R by using renv to record and hydrate exact package dependency versions, ensuring the environment remains consistent and preventing disruption.

Does migrating an R project to renv require backing up the current project state?

Yes, migrating to renv requires backing up the project state before modifying dependencies, ensuring recoverability and minimizing risk during the transition from a global library setup.

What is the best way to audit R dependencies before transitioning to a reproducible environment?

The best way to audit R dependencies before transitioning is to run a pre-migration audit phase that identifies existing packages, prunes unnecessary dependencies, and documents system requirements before initializing renv.