Rd_tag: Create an Rd tag container

Description Usage Arguments See Also Examples

Description

Rd_tag containers can contain, strings, Rd containers and other tags.

Usage

1
2
3
4
Rd_tag(tag, ..., content = Rd(...), opt = NULL,
  indent = getOption("Rd::indent", FALSE),
  indent.with = getOption("Rd::indent.with", "  "), .check = NA,
  verbose = getOption("Rd::verbose", getOption("verbose", FALSE)))

Arguments

tag

The Rd/LaTeX tag to use. Must start with the backslash.

..., content

The content specified in individual form or list form. Either may be used but not both.

opt

Options for the tag which as placed in square brackets.

indent

Should content inside the tag be indented?

indent.with

Amount to indent with, defaults to four spaces.

.check

Should the content be checked for valid Rd and if options are valid? A value of FALSE indicates no checking, TRUE strict checking and NA convert where possible, with messages and warnings.

verbose

Print informational messages.

See Also

Other construction: Rd_string_creation, Rd

Examples

1
Rd_tag("\\bold", Rd_text("Bolded text."))

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

Related to Rd_tag in Rd...