Skip to content
Prev 44970 / 63424 Next

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

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