copy_lifecycle_figures: Copy into ./man/files the figures required to support...

Description Usage Arguments Details Value Examples

Description

\Sexpr[results=rd, stage=render]{fgeo.template:::lifecycle("maturing")}

Usage

1
copy_lifecycle_figures(new_path = here::here("man", "figures"))

Arguments

new_path

Destination path of the copied figures.

Details

To support lifecycle badges you need to first run use_template("compat-lifecycle.R", package = "fgeo.template"). See also https://github.com/r-lib/rlang/blob/master/R/compat-lifecycle.R.

Value

Invisible new_path.

Examples

1
2
3
4
5
6
7
## Not run: 
# This creates a file in the root of your package. Move it to R/
use_template("compat-lifecycle.R", package = "fgeo.template")
# This adds the images for the badges into man/figures
copy_lifecycle_figures()

## End(Not run)

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