Emit R Markdown warnings for render* functions as well as shinyApps

`shinyApp` objects in R Markdown documents will trigger a warning if you attempt to render them in static documents, but render functions (e.g. `renderPlot`) don't trigger that warning. This change fixes that. 
That's a good point, I'll update the branch.