Skip to main content

Manage Renv Dependencies

Skill Verified Active

Manage R package dependencies using renv for reproducible environments. Covers initialization, snapshot/restore workflow, troubleshooting common issues, and CI/CD integration. Use when initializing dependency management for a new R project, adding or updating packages, restoring an environment on a new machine, troubleshooting restore failures, or integrating renv with CI/CD pipelines.

Purpose

To enable users to establish and maintain reproducible R package environments using renv, streamlining dependency management and ensuring consistency across development and deployment.

Features

  • Initialize renv for new R projects
  • Add, update, and snapshot R package dependencies
  • Restore project environments on new machines
  • Troubleshoot common renv issues
  • Integrate renv with CI/CD pipelines

Use Cases

  • Setting up dependency management for a new R project
  • Adding or updating packages in an existing R project
  • Recreating a project environment on a different machine
  • Resolving failures during renv restore operations
  • Configuring automated package restoration in CI/CD

Non-Goals

  • General R package development beyond dependency management
  • Managing dependencies for non-R projects
  • Replacing core R package installation functions without renv
  • Automated R code generation or analysis

Documentation

  • info:Configuration & parameter referenceThe SKILL.md outlines R commands and their expected outcomes but does not explicitly document all potential renv configuration options or environment variables.

Execution

  • info:ValidationThe SKILL.md describes R commands and expected outcomes. While renv handles internal validation, explicit schema validation for inputs/outputs within the skill's direct interface is not detailed.

Errors

  • info:Error HandlingThe SKILL.md describes expected outcomes and potential failure modes for R commands, but does not detail structured error reporting with retryable flags or explicit hints.
  • info:Actionable error messagesThe SKILL.md describes potential failure modes and recovery steps for renv commands, offering some actionable guidance, though not in a structured error message format.

Installation

/plugin install agent-almanac@pjt222-agent-almanac

Quality Score

Verified
97 /100
Analyzed about 21 hours ago

Trust Signals

Last commit1 day ago
Stars14
LicenseMIT
Status
View Source

Similar Extensions

Run Puzzle Tests

100

Run the jigsawR test suite via WSL R execution. Supports full suite, filtered by pattern, or single file. Interprets pass/fail/skip counts and identifies failing tests. Never uses --vanilla flag (renv needs .Rprofile for activation). Use after modifying any R source code, after adding a new puzzle type or feature, before committing changes to verify nothing is broken, or when debugging a specific test failure.

Skill
pjt222

Release Package Version

98

Release a new version of an R package including version bumping, NEWS.md updates, git tagging, GitHub release creation, and post-release development version setup. Use when a package is ready for a new patch, minor, or major release, after CRAN acceptance to create the corresponding GitHub release, or when setting up the development version bump immediately after a release.

Skill
pjt222

Vector Setup

100

First-run setup for ruvector@0.2.25 — installs ONNX/Brain/SONA add-ons, registers the MCP server, and verifies the install via `doctor`

Skill
ruvnet

Cleanup Cycles

100

Detect and untangle circular dependencies. Runs madge/skott (TS), pycycle (Py), or compiler-only checks (Go/Rust). Auto-fixes leaf-extractable cycles; reports core cycles for human review. Use when the user asks to find circular imports, fix dependency cycles, or untangle module graph. Example queries — "find circular imports", "fix dependency cycles", "untangle our module graph", "why is madge complaining".

Skill
raintree-technology

Audit Dependency Versions

100

Audit project dependencies for version staleness, security vulnerabilities, and compatibility issues. Covers lock file analysis, upgrade path planning, and breaking change assessment. Use before a release to ensure dependencies are current and secure, during periodic maintenance reviews, after receiving a security advisory, when upgrading to a new language version, before submitting to CRAN or npm, or when inheriting a project to assess its dependency health.

Skill
pjt222

Mcp Source

100

Switch MCP for Unity package source in connected Unity projects. Use /mcp-source [main|beta|branch|local] to swap between upstream releases, your remote branch, or local dev checkout.

Skill
CoplayDev

© 2025 SkillRepo · Find the right skill, skip the noise.