Code
cat(badge("deprecated"))
Output
\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}}
Code
cat(badge("experimental"))
Output
\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#experimental}{\figure{lifecycle-experimental.svg}{options: alt='[Experimental]'}}}{\strong{[Experimental]}}
Code
cat(badge("unknown"))
Condition
Error in `badge()`:
! `stage` must be one of "experimental", "stable", "superseded", or "deprecated", not "unknown".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.