title: R markdown compile error:
body: <p>When I try to compile an Rmarkdown document to pdf, I get this error:</p>
  
  <pre><code>    Error: Functions that produce HTML output found in document targeting latex output.
  Please change the output type of this document to HTML. Alternatively, you can allow
  HTML output in non-HTML formats by adding this option to the YAML front-matter of
  your rmarkdown file:
  
    always_allow_html: yes
  
  Note however that the HTML output will not be visible in non-HTML formats.
  </code></pre>
  
  <p>Does anyone know what this means?</p>