Skip to content

setGeneric() gives "must supply skeleton" when checking package

4 messages · Tim Bergsma, Martin Morgan

#
On 02/02/2013 02:34 PM, Tim Bergsma wrote:
You haven't mentioned your DESCRIPTION or NAMEPSACE file, but the right thing to 
do is

DESCRIPTION:

Depends: reshape

NAMESPACE:

importFrom(reshape, cast)

R/somefile.R:

setGeneric("cast")

Perhaps your current setGeneric is being performed inside the namespace when 
cast is not yet available (e.g., because it has not been imported)?

Martin Morgan

  
    
#
On 02/03/2013 09:36 AM, Martin Morgan wrote:
Should be Imports: reshape

  
    
1 day later