Either data or file must be passed.
display_pdf(data = NULL, file = NULL)
data
The PDF data as a raw vector
file
The path to a PDF file or a connection