[R-pkg-devel] Two problems with fda

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Tue Apr 26 18:46:17 CEST 2022


On 25/04/2022 8:24 p.m., Duncan Murdoch wrote:
  ...
> 
> \value{
>     These functions return either a standard \code{fRegress} fit object or
>     or a model specification:
>     \item{The \code{fRegress} fit object case:}{
> 
> 
> Aha, in a \value{} section, bare \items are supposed to mark components
> of the value, so they are automatically code.  I think the fix for this
> is to make it an explicit \describe list:
> 
> \value{
>     These functions return either a standard \code{fRegress} fit object or
>     or a model specification:
>     \describe{
>       \item{The \code{fRegress} fit object case:}{
> 
>     ... eventually ...
> 
>     }

An even simpler fix:  don't mark the section title as an \item, i.e. 
write as

\value{
    These functions return either a standard \code{fRegress} fit object or
    or a model specification.

    The \code{fRegress} fit object case:


    \item{field}{description .... }


Duncan Murdoch



More information about the R-package-devel mailing list