r-lib-lifecycle

Manage R package lifecycles with tidyverse lifecycle conventions and roxygen2 documentation.

1|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/nq-rdl/agent-extensions --skill r-lib-lifecycle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: r-lib-lifecycle
Source: https://github.com/nq-rdl/agent-extensions/tree/main/skills/r-lib-lifecycle
Command: npx skills add https://github.com/nq-rdl/agent-extensions --skill r-lib-lifecycle

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Manage and standardize the lifecycle of R packages using tidyverse conventions, including setup, deprecations, renames, and stage transitions, to improve API stability and maintainability.

Core Features & Use Cases

  • Setup lifecycle infrastructure in an R package with lifecycle tooling
  • Apply deprecation workflows, arg renaming, and superseded guidelines following best practices
  • Document lifecycle status in roxygen2 and automate badge and guidance generation for maintainers

Quick Start

Run usethis::use_lifecycle() in your R package to initialize lifecycle management and add badge support.

Frequently Asked Questions about r-lib-lifecycle

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

FAQPage Schema
How do I deprecate a function in an R package using tidyverse lifecycle conventions?

To deprecate a function in an R package, apply the tidyverse lifecycle workflows to transition its stage, document the status with roxygen2 patterns, and automate badge generation for clear user guidance.

What is the best way to manage R package lifecycle stages and argument renaming?

Managing R package lifecycle stages and argument renaming is best handled by setting up lifecycle tooling via usethis::use_lifecycle(), which standardizes stage transitions and superseded guidelines for maintainability.

How do I set up lifecycle infrastructure for tidyverse package maintenance?

Setting up lifecycle infrastructure for tidyverse package maintenance requires running usethis::use_lifecycle() in your R package to initialize lifecycle management and add badge support.

Does lifecycle tooling work with roxygen2 documentation for API stability?

Lifecycle tooling works with roxygen2 documentation patterns to standardize R package lifecycles, allowing maintainers to document status changes and automate badge generation for improved API stability.

When should I use the lifecycle package to manage R package deprecation workflows?

You should use the lifecycle package to manage R package deprecation workflows during development and maintenance when you need to execute argument renaming, stage transitions, and superseded guidelines following tidyverse best practices.