My question is linked to this one. I wish to include my appendix after my references so I am using the after_body
tag in my yaml, however I need to be able to knit
my appendix.Rmd
file. I have tried the following:
after_body: "`r knitr::knit('appendix.Rmd')`"
however this attempts to knit the appendix.Rmd
file before the actual report and therefore fails as it does not have the required libraries or objects in memory.