jumpingrivers / namer

R package :package: for labelling chunks of RMarkdown files! :boom:
https://jumpingrivers.github.io/namer/
Other
94 stars 11 forks source link

Make it work for reports containing non R chunks #4

Closed maelle closed 5 years ago

maelle commented 6 years ago

@stephlocke in the case of a file with both python and r chunks would you expect chunk names to be e.g. filename-r-1 filename-python-1 or rather filename-1 filename-2? The first solution seems more logical to me.

stephlocke commented 6 years ago

It depends on how easy it is for you to write the iteration by chunk type - I'd personally go for global sequential naming and then go for the sophisticated naming convention after