https://github.com/joshwlambert/lifecycling
Guide to versioning and badging R packages
https://github.com/joshwlambert/lifecycling
lifecycle r r-package versioning
Last synced: 12 days ago
JSON representation
Guide to versioning and badging R packages
- Host: GitHub
- URL: https://github.com/joshwlambert/lifecycling
- Owner: joshwlambert
- License: other
- Created: 2023-04-13T10:04:53.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-21T17:31:10.000Z (almost 2 years ago)
- Last Synced: 2025-02-08T02:15:50.688Z (2 months ago)
- Topics: lifecycle, r, r-package, versioning
- Language: R
- Homepage: https://joshwlambert.github.io/lifecycling/
- Size: 464 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - joshwlambert/lifecycling - Guide to versioning and badging R packages (R)
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# lifecycling :bicyclist: :bicyclist: :bicyclist:
[](https://opensource.org/licenses/MIT)
[](https://github.com/joshwlambert/lifecycling/actions/workflows/R-CMD-check.yaml)
[](https://app.codecov.io/gh/joshwlambert/lifecycling?branch=main)
[](https://lifecycle.r-lib.org/articles/stages.html#experimental)

The goal of lifecycling is to demonstrate good practises for communicating the
development of code through versioning and lifecycle stages.## Installation
You can install the development version of lifecycling from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("joshwlambert/lifecycling")
```## Lifecycles
The three types of lifecycle badges explored in this repo are:
- tidyverse {lifecycle}
- reconverse lifecycles
- repostatusThe lifecycle badges available from each of these are:
### {lifecycle}
``` r
- lifecycle::badge("experimental")
``````{r, results="asis", echo=FALSE}
cat("\n")
`````` r
- lifecycle::badge("stable")
``````{r, results="asis", echo=FALSE}
cat("\n")
`````` r
- lifecycle::badge("superseded")
``````{r, results="asis", echo=FALSE}
cat("\n")
`````` r
- lifecycle::badge("deprecated")
``````{r, results="asis", echo=FALSE}
cat("\n")
```### reconverse
```{r, results="asis", echo=FALSE}
cat("\n")
``````{r, results="asis", echo=FALSE}
cat("\n")
``````{r, results="asis", echo=FALSE}
cat("\n")
``````{r, results="asis", echo=FALSE}
cat("\n")
```### RepoStatus
```{r, results="asis", echo=FALSE}
cat("\n")
``````{r, results="asis", echo=FALSE}
cat("\n")
``````{r, results="asis", echo=FALSE}
cat("\n")
``````{r, results="asis", echo=FALSE}
cat("\n")
``````{r, results="asis", echo=FALSE}
cat("\n")
``````{r, results="asis", echo=FALSE}
cat("\n")
``````{r, results="asis", echo=FALSE}
cat("\n")
``````{r, results="asis", echo=FALSE}
cat("\n")
```## Example
This is a basic example which shows you how to solve a common problem:
```{r example, error=TRUE}
library(lifecycling)# basic demonstration of functions from {lifecycle}:
expe_func()
dep_func()
soft_dep_func()
hard_dep_func()
sup_func()
```