Message-ID: <76c0f8c8-d616-4680-93af-e89548388597@syonic.eu>
Date: 2023-09-26T11:27:11Z
From: Leonard Mada
Subject: [R-pkg-devel] 2 Return values for 2 Functions
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