What tags are required in the R documentation?

When documenting the R functions in myfunction.Rdand entire packages in mypackage-package.Rd, which tags are required?

By "tags" I mean things that look like \somename{}. For instance: \item{} \title{} \examples{}

+3
source share
1 answer

This is described in Section 2.1 - The Rd Format for Writing Extensions. Look for "required".

Required sections for functions:

\name{name}
\alias{topic}
\title{title}
\description{...}
\usage{fun (arg1, arg2, ...)}
\arguments{...}

For packages:

\name{name}
\alias{topic}
\title{title}
\docType{package}
+7
source

All Articles