Is it possible to get all of the code in a appendix. Say I have two chunks in a document and then some text.
```{r, echo=TRUE}
x <- 4+5
x
```
Above is X output.
```{r, echo=TRUE}
y <- 22+325
y
```
Above is Y output.
And then I want all of the code in a appendix but shown as if I put eval=FALSE
in the chunk.
Something like this
```{r, SHOW_ALL_CODE=TRUE}
```
Expected output:
Chunk_1
x <- 4+5
x
Chunk_2
y <- 22+325
y