Good day,

The package checking software emits a warning if \cr is used inside \code. The 
reason I'd like to do that is to avoid a S4 constructor specification being 
limited to one line and running off the side of the PDF page of the PDF manual, 
as happens by default. The style of the documentation which I wrote is:

\section{Constructor}{
  \describe{
    \item{}{
      \code{DataClass(parameter1, parameter2, parameter3, parameter4,\cr
            parameter5, parameter6)
            }
            }
    }  \describe{
            \item{\code{parameter1}}{A description of the requirements of the 
first parameter.}
           }
}

How can wrapping be forced without causing a warning during checking?

--------------------------------------
Dario Strbenac
University of Sydney
Camperdown NSW 2050
Australia

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

Reply via email to