[R-pkg-devel] 2 Return values for 2 Functions
Leonard Mada
|eo@m@d@ @end|ng |rom @yon|c@eu
Tue Sep 26 13:27:11 CEST 2023
Dear Members,
How should the return values be documented, when the help page covers 2
related functions:
1.) Variant 1: fails the checks
\value{
\code{cryst1} returns a list of class \sQuote{cryst1} with the
following components:
\describe{
\item{abc}{a numeric vector of length 3 containing the norms of the lattice
vectors a, b and c.... there are more items}
}
\item{}{}
\code{is.cryst1} returns TRUE if \code{x} is an object of class
\sQuote{cryst1}
and FALSE otherwise.
}
2.) Variant 2: fails in Latex
\value{
\code{cryst1} returns a list of class \sQuote{cryst1} with the
following components:
\describe{
\item{abc}{a numeric vector of length 3 containing the norms of the lattice
vectors a, b and c.... there are more items}
}
\cr\cr
\code{is.cryst1} returns TRUE if \code{x} is an object of class
\sQuote{cryst1}
and FALSE otherwise.
}
3.) 2 separate Value-Sections
Did not generate actually 2 sections: only the 1st one.
Sincerely,
Leonard
More information about the R-package-devel
mailing list