Learn R Programming

lifecycle

lifecycle provides a set of tools and conventions to manage the life cycle of your exported functions.

  • For a general motivation and introduction to the key concepts, watch Hadley's rstudio::global(2021) keynote "Maintaining the house that the tidyverse built".

  • Read vignette("stages") to learn what it means for a function to be experimental, stable, deprecated, or superseded.

  • Read vignette("manage") to learn how to manage lifecycle changes in functions that you use.

  • Read vignette("communicate") to learn how to communicate lifecycle changes in the functions you write.

Installation

# Install release version from CRAN
install.packages("lifecycle")

# Install development version from GitHub
pak::pak("r-lib/lifecycle")

Code of Conduct

Please note that the lifecycle project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Copy Link

Version

Install

install.packages('lifecycle')

Monthly Downloads

1,508,444

Version

1.0.4

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Lionel Henry

Last Published

November 7th, 2023

Functions in lifecycle (1.0.4)

deprecated

Mark an argument as deprecated
verbosity

Control the verbosity of deprecation signals
expect_deprecated

Does expression produce lifecycle warnings or errors?
lifecycle-package

lifecycle: Manage the Life Cycle of your Package Functions
deprecate_soft

Deprecate functions and arguments
pkg_lifecycle_statuses

Lint usages of functions that have a non-stable life cycle.
signal_experimental

Deprecated funtions for signalling experimental and lifecycle stages
last_lifecycle_warnings

Display last deprecation warnings
badge

Embed a lifecycle badge in documentation
signal_stage

Signal other experimental or superseded features