In an rmd file have a code chunk that currently begins at line 50. However that may change as I edit the document. In the R markdown document's text, I'd like to reference the line number of that particular code chunk. Does R markdown have the capability to reference line numbers for a particular segment of code?
Line 50 ```{r wrapper, echo=FALSE, message=FALSE, warning=FALSE}
library(tidyverse)
library(padr)
Code goes here...
```
In the Rmd text:
In (insert Line 50) the rmd file begins the wrapper
code chunk.