yihui / Rd2roxygen

Convert Rd to roxygen documentation
https://yihui.org/Rd2roxygen
32 stars 14 forks source link

\href{}{} drops brackets #22

Open leeper opened 8 years ago

leeper commented 8 years ago

I just started using this and noticed that tags of the form \href{URL}{TEXT} get converted to \href{URLTEXT} (brackets dropped). I'm not sure where this is happening in the code, though, so I don't know how to send a patch.

yihui commented 8 years ago

It is already 2016 and you still have packages that are not using roxygen2 right from the beginning? :)

This is probably a bug, but it is not immediately clear to me how to fix it, and I do not have much time to investigate it, either. Sorry.

Also see https://github.com/yihui/Rd2roxygen/blob/master/R/Rd2roxygen-package.R#L14-L16

leeper commented 8 years ago

Currently resurrecting some old projects. :-/

Thanks, and no pressure, obviously.