format_inline: Format and returns a line of text

Description Usage Arguments Value Examples

View source: R/cli.R

Description

You can use this function to format a line of cli text, without emitting it to the screen. It uses cli_text() internally.

Usage

1

Arguments

...

Passed to cli_text().

.envir

Environment to evaluate the expressions in.

Value

Character scalar, the formatted string.

Examples

1
format_inline("This is a message for {.emph later}.")

RonMobile/cli documentation built on Dec. 18, 2021, 11 a.m.