title: Can Rmarkdown having a non working code, knit html output showing the errors and warnings
body: <p>Lets say I have code in R which is <code>not working</code>, i.e. I run that code and get some errors and warnings, and I want to share the code and output showing errors and warnings, with the third person through <code>R markdown</code>. </p>
  
  <p><strong>Is it possible to knit R markdown if I have errors in r code chunks?, If yes, then is it going to show me waht errors and warnings occurs in the html output?</strong> Goal is to share the <code>html output</code> showing errors and everything with the non working code.</p>
  
  <p>Any help on this is highly appreciated. Thanks.</p>