[Rd] R 2.7 package.skeleton

cgenolin at u-paris10.fr cgenolin at u-paris10.fr
Sun Apr 13 19:56:55 CEST 2008


Hi the devel list

I am testing package.skeleton in R 2.7 (download today). I get an error 
that I do not understand. I guess it is not an error from my code since 
I have no probleme when I source it. So is it a error in 
package.skeleton?

Here is my code :


--- 8< ------ File essai.r -------------
setClass(
   Class="ClusterizLongData",
   representation=representation(
     clusterizS="list"
   ),
   prototype=prototype(
     clusterizS=list(c2=list(),c3=list())
   )
)
--- 8< ---------------------------------


package.skeleton("kmt",code_files=c("essai.r"))

Erreur dans .prototype(...) :  l'argument "list" est manquant, avec 
aucune valeur par défaut

[approximative translation :
Error in .prototype(...) :
  the argument "list" is missing, with no default value
]


Christophe

----------------------------------------------------------------
Ce message a ete envoye par IMP, grace a l'Universite Paris 10 Nanterre



More information about the R-devel mailing list