# [R] Rd question: itemize in arguments

From: Christian Hennig <chrish_at_stats.ucl.ac.uk>
Date: Thu 10 Aug 2006 - 00:34:42 EST

Dear list,

I'm writing Rd files and I'd like to have a list inside the description of an argument:

(...)
\arguments{
(...)

\item{bootmethod}{vector of strings, defining the methods used for

     resampling. Possible methods:
\itemize{

\item{"boot"} {Nonparametric bootstrap (precise behaviour is

controlled by parameters \code{bscompare} and

\code{multipleboot}).}

\item{"subset"} {Selecting random subsets from the dataset. Size

determined by \code{subtuning}.}

\item{"noise"} {Replacing a certain percentage of the points by

random noise, see \code{noisetuning}.}

\item{"jitter"} {Add random noise to all points, see

\code{jittertuning}. (This didn't perform well in Hennig (2006),

but you may want to get your own experience.)}

\item{"bojit"} {Nonparametric bootstrap first, and then adding

noise to the points, see \code{jittertuning}.}
}


(...)
}

Seemingly this leads to the following warning, running R CMD check: Found the following significant warnings:

   Warning: missing text for item '"boot"' in \describe
Warning: missing text for item '"subset"' in \describe
Warning: missing text for item '"noise"' in \describe
Warning: missing text for item '"jitter"' in \describe
Warning: missing text for item '"bojit"' in \describe



(The code above is the only place in any Rd file of my package where these five strings occurr.)

Is it forbidden to use \itemize inside of \argument? What went wrong here?

Best,
Christian

• --- *** Christian Hennig University College London, Department of Statistical Science Gower St., London WC1E 6BT, phone +44 207 679 1698 chrish@stats.ucl.ac.uk, www.homepages.ucl.ac.uk/~ucakche

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu Aug 10 00:44:42 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 10 Aug 2006 - 02:19:59 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.