The way Roxygen seems to work is that the first line is the \title
, everything else is in the \details
, and then any @foo
directives handle those things. But R documentation is richer than that. I can have "\section{Llamas}{Are they ungulates?}"
in .Rd files.
But I can't get Roxygen to do anything other than wrap it all in \details. Am I missing something?
I have a hacky solution, which is to stick an unmatched }
before my \section
. This then ends the \details
section. I then have to not put an ending }
in, because roxygen sticks one in thinking its closing the \details
. Eeeeeurrrrrrrrgh.
@section
tag in roxygen2 – Gurney