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

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to