The "Generating Rd files" vignette has a paragraph on "Roxygen templates".

vignette("rd", package = "roxygen2")

but I grant you it's not terribly detailed.

In these situations it can be helpful to search GitHub for other packages that 
do the thing you want to do.

This search finds >1400 examples of roxygen templates in the wild:

https://github.com/search?utf8=✓&q=man-roxygen+in%3Apath&type=Code&ref=searchresults

> On Jun 13, 2016, at 11:32 PM, Knut Krueger <rh...@krueger-family.de> wrote:
> 
> I found in packgae ply - file adply.r:
> 
> #' @template ply
> #' @template a-
> #' @template -d
> 
> but no documentation about the template functionality, especially how to 
> create the template file. (I tried to find it with google - of course)
> 
> Is there any complete documentation about roxgen?
> 
> 
> Knut
> 
> ______________________________________________
> R-package-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to