format_inline {cli} | R Documentation |
You can use this function to format a line of cli text, without emitting
it to the screen. It uses cli_text()
internally.
format_inline(..., .envir = parent.frame(), collapse = TRUE)
... |
Passed to |
.envir |
Environment to evaluate the expressions in. |
collapse |
Whether to collapse the result if it has multiple
lines, e.g. because of |
format_inline()
performs no width-wrapping.
Character scalar, the formatted string.
format_inline("A message for {.emph later}, thanks {.fn format_inline}.")