The most common way to insert a pdf image in an rmarkdown file is to use:
knitr::include_graphics("image.pdf")
or

However, this does not work on a Windows OS. If you run this on a Windows OS, it will show
This picture can't be displayed
for docx outputs and
Couldn't load plugin
for html outputs. Is there a way to work around this?