I have an R file with several functions in the same file.
I was trying to document them using roxygen2, but roxygen2 only allows multiple files to be documented in the same help page in a weird way. Below example shows even though the two functions are documented separately, at the output help page all the comments are put under single Description page. Ideally I would have wanted to have separate help pages for each function, but that does not seem to be possible.
Is there a better way to reorganize the output so that there are multiple Description and Usage headings in the same page for each function.
#' comment a
a <- function()
{
}
#' comment b
#' @rdname a
b <- function( )
{
}