lifecycle: Embed a lifecycle badge in documentation

Description Arguments

Description

(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:

1
\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.

Arguments

stage

A lifecycle stage as a string, one of: "experimental", "maturing", "stable", "questioning", "archived", "soft-deprecated", "deprecated", "defunct".


forestgeo/fgeo.template documentation built on June 5, 2019, 8:59 a.m.