Skip to content

.Rd file for S4-method warning

3 messages · Mark Heckmann, Duncan Murdoch

#
On 20/12/2010 5:18 PM, Mark Heckmann wrote:
That's okay, the warning is about the fact that you didn't document 
object in the \arguments section.

You had

\item{testClass}{object}

but you should have had

\item{object}{some description of what object is}

As yours was written, it's documentation for the "testclass" argument, 
which doesn't exist.
Does roxygen also create the argument?  Looks like a bug or limitation 
(I seem to recall that roxygen doesn't support S4, or didn't in the past...)

Duncan Murdoch