annotater icon indicating copy to clipboard operation
annotater copied to clipboard

feature request: allowing RMarkdown to annotate functions used in packages.

Open Greenwind1 opened this issue 4 years ago • 2 comments

Hi, Thank you for developing a nice package.

I am currently using the below annotation feature for functions used in the package.

It would be great if this very useful feature could also be used in RMarkdown 😃 Do you have any plans for that?

Greenwind1 avatar Apr 14 '21 18:04 Greenwind1

Thanks for the feedback! This function was contributed by @jcrodriguez1989, let's see if he can figure out why this function isn't running on Rmd files. Otherwise I'll look into it. cheers

luisDVA avatar Apr 20 '21 00:04 luisDVA

finally working on this issue it looks like a problem with the backticks that delimit code blocks in Rmd files and how they throw errors when trying to parse the scripts using base::parse. Will look for a workaround at some point in the near future.

luisDVA avatar Apr 25 '22 08:04 luisDVA