I want just to include a nicely formatted Stan code in an R Markdown document, but I don't want to run the Stan code when knitting because it takes a long time (and I am reloading a previously saved model instead).
eval=FALSE knitr option is working for the R code chunks, but I am getting an error when adding the same
eval=FALSE option to the Stan code chunk. Any idea to solve this? Thank you.