Skip to content
Back to formatted view

Raw Message

Message-ID: <54719f3b-4001-b611-0743-af927e5fa264@gmail.com>
Date: 2022-04-26T16:46:17Z
From: Duncan Murdoch
Subject: [R-pkg-devel] Two problems with fda
In-Reply-To: <2bb78528-297c-2d7b-92ee-3df36c41b392@gmail.com>

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