Nothing
Code
render_rmarkdown(pkg, "assets/pandoc-fail.Rmd", "test.html", output_format = rmarkdown::html_document(
pandoc_args = "--fail-if-warnings"))
Output
Reading 'assets/pandoc-fail.Rmd'
-- RMarkdown error -------------------------------------------------------------
[WARNING] Could not fetch resource path-to-image.png
Failing because there were warnings.
--------------------------------------------------------------------------------
Condition
Error in `render_rmarkdown()`:
! Failed to render RMarkdown
Caused by error:
! in callr subprocess.
Caused by error:
! pandoc document conversion failed with error 3
<span class="co">#> <span style="color: #BB0000;">X</span></span>
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.