Either data or file must be passed.
display_latex(data = NULL, file = NULL)
data
The LaTeX code as a character vector
file
The path to a LaTeX file or a connection