From ripley at stats.ox.ac.uk  Wed Nov 22 14:14:41 2006
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed, 22 Nov 2006 13:14:41 +0000 (GMT)
Subject: [Rd] Undocumented S4 methods: generic 'show'
In-Reply-To: <E4A9111DA23BA048B9A46686BF727CF461BE4C@DEFRAXMB01.corp.amvescap.net>
References: <E4A9111DA23BA048B9A46686BF727CF461BE4C@DEFRAXMB01.corp.amvescap.net>
Message-ID: <Pine.LNX.4.64.0611221311120.5631@gannet.stats.ox.ac.uk>

On Wed, 22 Nov 2006, Pfaff, Bernhard Dr. wrote:

> Dear R-Devel subsriber,
>
> during the set-up of a package with a NAMESPACE I stumbled over the
> following warning during:
>
> R CMD check -l c:/R/package smem
>
> ## skipped output
> * checking for missing documentation entries ... WARNING
> Undocumented S4 methods:
>  generic 'show' and siglist 'equation'
> All user-level objects in a package (including S4 classes and methods)
> ## skipped output
>
> However, I do have in the Rd.-file for class 'equation' an \alias{} as:
>
> \alias{show, equation-method}

There are no spaces in the examples in Writing R Extensions, so I would 
not have assumed they are allowed.  Does it work without the space?  (If 
it supposed to, we need to document that.)

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] Undocumented S4 methods: generic 'show'
Prof Brian Ripley