Rd_indent: Indent Rd

Description Usage Arguments Examples

Description

Indent Rd

Usage

1
2
Rd_indent(rd, indent.with = getOption("Rd::indent.with", "  "),
  recursive = TRUE, ..., no.first = is(rd, "Rd_tag"), .check = TRUE)

Arguments

rd

an Rd container or an Rd tag.

indent.with

What to indent with. See Rd_clean_indent().

recursive

Indent recursively?

...

Ignored but included for forward compatibility and to force full names on subsequent parameters.

no.first

if the first element should be indented.

.check

check for valid Rd?

Examples

1
2
(x <- Rd_description("line 1\n", "line 2\n"))
Rd_indent(x)

Rd documentation built on May 23, 2019, 9:03 a.m.

Related to Rd_indent in Rd...