Manage the Life Cycle of your Package Functions

Manage the life cycle of your exported functions with shared conventions, documentation badges, and user-friendly deprecation warnings.


lifecycle

R-CMD-check Codecov test coverage

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.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("lifecycle")

1.0.5 by Lionel Henry, 9 months ago


https://lifecycle.r-lib.org/, https://github.com/r-lib/lifecycle


Report a bug at https://github.com/r-lib/lifecycle/issues


Browse source code at https://github.com/cran/lifecycle


Authors: Lionel Henry [aut, cre] , Hadley Wickham [aut] , Posit Software , PBC [cph, fnd]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports cli, rlang

Suggests covr, knitr, lintr, rmarkdown, testthat, tibble, tidyverse, tools, vctrs, withr, xml2


Imported by AIscreenR, APackOfTheClones, ARUtools, AnxietySleep, BFS, BIGL, BRcal, BatchGetSymbols, BiVariAn, BioTIMEr, BiostatsUHNplus, CDMConnector, CGMissingDataR, CatastRo, CausalQueries, ClustMC, ClusterR, CodelistGenerator, CohortCharacteristics, ConFluxPro, CytoProfile, DSMolgenisArmadillo, DiscreteFDR, DiscreteTests, DrugUtilisation, Dyn4cast, ECOTOXr, EDCimport, EFAtools, EdSurvey, EpiNow2, FDX, FastUtils, FeNEU, FedData, FoReco, GGally, GWlasso, GetFREData, GetLattesData, GetTDData, IPEDSuploadables, IVPP, JointFPM, LightLogR, MetricGraph, MigrationDetectR, MiscMetabar, MolgenisArmadillo, N2H4, NetCoupler, ODRF, OmopSketch, OmopViewer, OncoBayes2, OpenImageR, OpenMx, PAGFL, PEIMAN2, PHEindicatormethods, PKNCA, PROJ, PTSDdiag, PathwaySpace, PatientProfiles, PointedSDMs, PrettyCols, ProTrackR2, ProbBreed, PublicationBias, RAQSAPI, RBesT, REDCapDM, RGraphSpace, RStoolbox, RTL, SHARK4R, SPLICE, SUMMER, SeaVal, SelectionBias, Seurat, SeuratObject, SiPhyNetwork, Signac, Silhouette, SimSurvey, SimplyAgree, SomaDataIO, Surrogate, TOSTER, TSDFGS, Tplyr, TrialEmulation, UnalR, WARDEN, WISP.data, WpProj, abe, acledR, actfts, admiral, admiraldev, admiralmetabolic, admiralneuro, admiralonco, admiralophtha, admiralvaccine, adobeanalyticsr, aeddo, aedseo, airnow, allofus, ambiR, ameras, amp.sim, anndata, antaresEditObject, antaresRead, antaresViz, aorsf, apache.sedona, arcgislayers, arcgisutils, aricode, artma, artpack, atrrr, bacenR, bage, baldur, bayesTFR, bayesplot, bcmaps, beeca, beezdemand, bennu, bgms, bigrquery, bigrquerystorage, bioRad, biogrowth, boral, boxr, brandr, bregr, brickster, bridgr, broom, broom.helpers, bruneimap, bs4Dash, bslib, btw, bumbl, bundle, bupaR, butterfly, bvhar, cSEM, calmr, campsis, campsismod, campsisnca, cards, cardx, causact, causalDT, causalDisco, cccrm, ceblR, censored, charr, chattr, checkhelper, checkthat, chevron, chk, ciecl, cifmodeling, climatehealth, clock, clubSandwich, cmstatrExt, cnefetools, cocoon, coglasso, colleyRstats, comtradr, connectapi, connector, countmaskr, coursekata, crane, crew.cluster, crmPack, crossmap, crosstable, crul, cryptoQuotes, csodata, csranks, ctxR, curriculr, cvasi, cvms, czso, dRiftDM, daiR, datacommons, dataquieR, datefixR, dbSpatial, dbplyr, dcmstan, deeptime, deliberr, dendroNetwork, denguedatahub, devtools, dfeR, dgpsi, dials, distionary, distributional, distspec, dittodb, dlim, dm, docorator, dplR, dplyr, dream, drmTMB, dropR, dsp, dtplyr, dtrackr, dttr2, duckplyr, duckspatial, dySEM, eDNAjoint, easybio, eatRep, edeaR, edibble, educabR, ellmer, embed, emodnet.wfs, epidatr, epiparameter, episensr, epiviz, epoxy, ernest, excursions, expirest, expstudy, extras, eyeris, eyetools, f1dataR, fPASS, fabR, fabletools, fastRhockey, fastplyr, fastpos, fastrep, favr, feasts, ffscrapr, fftab, fhircrackr, fiery, fitbitViz, fitzRoy, flexurba, flightsbr, flow, flowmapper, fluxible, fmesher, forcats, formatters, foundryR, freesurfer, frictionless, fscache, funspotr, galah, gamutil, gargle, gateR, gbm.auto, genMCMCDiag, geoidep, geoprofiler, geotargets, ggalign, gganimate, ggarrow, ggbeeswarm, ggchangepoint, ggcharts, ggcube, ggdibbler, ggerror, ggforce, ggfoundry, ggh4x, gghdx, gghighlight, gglinedensity, ggmapinset, ggpattern, ggplot2, ggpointless, ggraph, ggrecipes, ggseg, ggseg.formats, ggseg3d, ggside, ggsql, ggstackplot, ggstats, ggthemes, ggtime, gh, ghclass, giscoR, glymotif, gmailr, gmoTree, googledrive, googlesheets4, gosset, gptzeror, gratia, grec, greta, groupdata2, gseries, gtable, gtsummary, guideR, handwriterRF, hatchR, haven, heemod, highdir, hmrc, hms, hmstimer, hoopR, httr2, hubEnsembles, hubUtils, iRfcb, iai, idmc, ig.degree.betweenness, igraph, immunarch, immundata, imputeCGM, incase, infer, inlabru, insulin.secretion, insurancerating, interfacer, intraclass, ipumsr, ir, isoorbi, isoreader2, ivs, janitor, janusplot, jmastats, joyn, jpcity, jpgrid, jpstat, kanjistat, kardl, keyed, khisr, kindling, kvkapiR, labelled, laminr, land4health, lang, lazytrade, learnr, legendry, lightr, lime, lmtp, locateip, log4r, logrx, lssdoc, mRpostman, maestro, mailmerge, malariaAtlas, maldipickr, mapSpain, maraca, marquee, mascarade, matrixset, matsbyname, matsindf, mccount, mcmcr, mcradds, mctq, mdbr, measr, medfateland, meetupr, metacore, metamorphr, metaphonebr, metasurvey, metatools, meteoland, mfrmr, mggd, mgwrsar, microeco, midoc, missr, mixtime, mizer, mlbplotR, mlfit, mmequiv, mmrm, mnirs, mobdb, monashtipr, moodleR, mousetRajectory, mousetrap, mpathr, mpathsenser, mpindex, mrgsim.sa, mrgsolve, msigdbr, mtscr, multibias, multivarious, mxfda, nadir, naniar, naryn, navigatr, ncaavolleyballr, nemsqar, nestcolor, neuromapr, nflfastR, nflplotR, nflreadr, nflseedR, nhppp, nichetools, nlist, nmslibR, nodeSub, nomnoml, nonlinearTseries, nprcgenekeepr, nuggets, nuts, nzilbb.vowels, odbc, omock, omopgenerics, openai, openairmaps, opencage, openscoring, osdc, osrm.backend, outstandR, owidapi, palaeoverse, parafac4microbiome, parquetize, parsnip, partialling.out, patentsview, pcFactorStan, peacesciencer, pensynth, periscope2, perutimber, phonetisr, photosynthesis, phsmethods, phsopendata, phylepic, phylosamp, pillar, pins, pkgdown, pkgload, plot3logit, plu, plumber, plumberDeploy, plume, pmsims, poisonfrogs, polmineR, poputils, powRICLPM, prefviz, primarycensored, processcheckR, processmapR, profoc, promises, propensity, prospectr, protti, provolleyballr, purrr, pysparklyr, quadrupen, quallmer, qualtRics, quanteda, quarto, querychat, qviewparsR, qwalkr, r2dii.analysis, r2dii.data, r2dii.match, r4ss, r5r, rATTAINS, rSPDE, rUM, radsafer, random.cdisc.data, rankinPlot, rbmi, rbmiUtils, readMDTable, readr, ready4, rearrr, recipes, recmetrics, reportRmd, reprex, reproducible, reptiledbr, reqres, resemble, rextendr, rfriend, rgnparser, rgoogleads, rio, ripc, rliger, rmdd, rnpn, rocrateR, rollout, routr, roxygen2, rpf, rphylopic, rpkgkit, rpostgis, rqPen, rqti, rredlist, rsample, rsconnect, rsi, rsimsum, rstanemax, rsurveycto, rsyncrosim, rtables, rtables.officer, rticles, rtlr, rtpcr, rvec, rvest, rxref, safeframe, safejoin, salesforcer, sasr, scCustomize, scDiffCom, scales, scoringutils, scrutiny, sdmTMB, selenider, selenium, serocalculator, sfislands, sgplot, shiny, shiny.telemetry, shinyCohortBuilder, shinyGovstyle, shinyMobile, shinyOAuth, shinychat, shinydashboardPlus, shinylive, shinytest2, silviculture, simfinapi, simlandr, skipTrack, smdi, socialmixr, spanishoddata, sparrpowR, spatialrisk, speakr, specr, sprtt, srcr, ssdtools, standardlastprofile, states, statnipokladna, strata, stratallo, strex, stringr, supportR, survParamSim, svglite, systemfonts, tabxplor, taxize, taylor, tbl.now, teal, teal.code, teal.data, teal.modules.clinical, teal.modules.general, teal.reporter, teal.widgets, tectonicr, tensorflow, term, tern, tern.mmrm, testdat, testthat, text2sdg, textrecipes, textshaping, themis, tibble, tibbletime, tibblify, tidyBdE, tidyEdSurvey, tidyEmoji, tidyHeatmap, tidyREDCap, tidychangepoint, tidyclust, tidyfinance, tidygate, tidygraph, tidyhte, tidyllm, tidyplate, tidyplots, tidyplus, tidypredict, tidyr, tidyselect, tidyseurat, tidytable, tidyterra, tidytext, tidyttmoment, tidywater, timbr, timeplyr, tinkr, tongfen, toolero, topolow, traumar, trps, tsg, tsibble, tteICE, tune, tutorizeR, tweedie, usedthese, usethis, valr, vazul, vcr, vctrs, vdiffr, vembedr, vetiver, vigicaen, vivainsights, volker, vroom, washr, waves, wcvpmatch, wehoop, weibulltools, winch, wingen, workflows, workflowsets, worldmet, wrappedtools, xpectr, xportr, xpose.xtras, yardstick, yatah, youngSwimmers, ypr.

Depended on by eq5d, frscore.

Suggested by AccelStab, CopernicusMarine, EGM, EstimationTools, MIC, NetworkChange, PL94171, R3port, RESIDE, RKorAPClient, Racmacs, StreamCatTools, academictwitteR, adverbial, attachment, candisc, cffr, chopin, civis, climaemet, csquares, dbplot, dcce, doctest, einops, eurostat, excluder, fabricQueryR, ggPMX, ggmice, ggplot2.utils, golem, googleAnalyticsR, gtExtras, inkaR, junco, lambdr, logolink, mcmodule, metabodecon, metabodeconplus, metasnf, naijR, nethist, onetime, ppwdeming, ragnar, ratesci, rbiom, rcdf, rhino, rlandfire, rlistings, rnaturalearth, rprojroot, rstac, rtern, rxode2, sdtm.oak, spinifex, tatooheene, theft, theftdlc, tidysq, transltr, twoxtwo, unusualprofile, vecvec, visOmopResults, wbids, wpa.


See at CRAN