Closed stephlocke closed 5 years ago
Notes of things I discovered whilst testing:
I was parsing the headers too much, now I rely on knitr
code and it all goes much better.
There can be spaces in chunk labels so when I split the label by space to find the language and label, I lost part of the label. Now the code replaces the first space with a slash and I split by slash.
I hadn't taken into account the case when the Rmd doesn't contain any chunk, now I do.
If a Rmd file already contains duplicate names, I get an informative error message, thanks previous-me.
Here's a list of Rmd files from over the years that'd be good for testing!
Hopefully some folks will be to suggest others