The output contains ANSI escape codes to colour the elements in the object. This string would then be suitable to pass on to fansi for further manipulation e.g. conversion to HTML for displaying in a vignette.

# S3 method for emphatic
as.character(x, ..., mode = "ansi")

Arguments

x

emphatic data.frame, matrix or atomic vector

...

other arguments passed on to format()

mode

Render mode 'ansi' (default) or 'html' determines how the colours will be represented in text. If you're in a terminal or console, then choose 'ansi'.