I have a lengthy .rmd document which I have formatted ready for presentation, this includes extensive bootstrapping and takes a long time to run. I would like to knit the document for presentation as an appendix but do not want the code to run as R knits the document as this takes over 8 hours on the PCs I use.
Is there a way of knitting a document (to HTML preferably for later conversion to word) which quickly produces a document with only correctly formatted text (colours, font, spacing etc) without outputs.
If your main concern is the time needed to re-run the code, another option would be to cache the chunks (or only the long-running ones). Then you could also include the output in your appendix without having to wait hours:
```{r setup, include = FALSE}
knitr::opts_chunk$set(cache = TRUE)
```