Fail when attempting to insert a Shiny app into a cached knitr chunk