(From https://github.com/r-lib/rlang/blob/master/R/compat-lifecycle.R)
Use lifecycle()
within a Sexpr
macro to embed a
lifecycle badge in your
documentation. The badge should appear first in the description:
\Sexpr[results=rd, stage=render]{mypkg:::lifecycle("questioning")}
The badge appears as an image in the HTML version of the
documentation. To make them available in your package, visit
https://github.com/r-lib/rlang/tree/master/man/figures and copy
all the files starting with lifecycle-
in your man/figures/
folder.
stage | A lifecycle stage as a string, one of:
|
---|