rd_roclet()@param name description@inheritParams
source_functionfunction, or another package
package::function.@method generic classt.test and the t method for
the test class.rd_roclet are: @examples R code...@example
path/relative/to/packge/root@example tag
to insert them into the documentation.@return\item{name a}{description a} describe each
component of the list@author authors...@note contents@section Name: contents@keywords keyword1 keyword2 ...file.path(R.home(), "doc/KEYWORDS"). Use the
internal keyword for functions that should not
appear in the main function listing.@aliases space separated aliases?. The topic name is always
included in the list of aliases.@concepts space separated concepts@aliases but for help.search@references free text reference@seealso Text with
\code{\link{function}}@family family nameR file
in the man-roxygen/ directory. It is processed
with brew and then inserted into the
roxygen block. You can run any R code with brew; you can
insert template variables with <%= varname %>. @template templateName@templateVar varname value@rdname filename[[<-), or you want to merge documentation for
multiple function into a single file.@title Topic title@usage usage_string@rdname.@name topicname@docType typedata and
package. Package doc type will automatically add a
package- alias if needed.@format description@source text@slot name descriptioncheckRd on all
generated Rd files so that you know as early as possible if there's a
problem.S3method,
export, exportClass,
exportMethod, import,
importClassesFrom,
importFrom,
importMethodsFrom,
namespace_rocletroclet <- rd_roclet()
## Not run: roc_proc(roclet, "example.R")
## Not run: roc_out(roclet, "example.R", ".")
Run the code above in your browser using DataLab