[R-pkg-devel] Roxygen and Template

Jenny Bryan jenny at stat.ubc.ca
Wed Jun 15 03:54:54 CEST 2016


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 <rhelp at 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 at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel



More information about the R-package-devel mailing list