rjournal / rjtools

Tools for AUTHORS to use for checking and submitting articles to the R Journal
https://rjournal.github.io/rjtools/
Other
31 stars 14 forks source link

Simplify figure selection #55

Closed ms609 closed 1 year ago

ms609 commented 1 year ago

It took me a while to understand what was going on here.

We can avoid the knitr_asis and some duplication by just switching the reference, rather than the entire refereice which I think makes the code easier to understand -- fewer backticks and arrubas to escape.