Re: [Rd] R 2.7 package.skeleton

2008-04-13 Thread cgenolin
> However, try this example with the corrected package.skeleton() as well. I did, it is working Thanks Christophe > > > John Chambers wrote: >> Well, the workaround does not help much. The source files will be >> copied to the new package, but they are not evaluated (because >> package.skele

Re: [Rd] R 2.7 package.skeleton

2008-04-13 Thread John Chambers
Providing a default argument list=character() seems to fix package.skeleton for this example. Should be in the next version of R 2.7 beta. Regarding your other example. This looks more like a real error in your code. Error in le > 0 : comparaison (6) possible seulement pour les types list

Re: [Rd] R 2.7 package.skeleton

2008-04-13 Thread John Chambers
Well, the workaround does not help much. The source files will be copied to the new package, but they are not evaluated (because package.skeleton requires list= to be missing). Therefore you won't have the documentation files reflecting the contents of essai.r So, for the moment, this just se

Re: [Rd] R 2.7 package.skeleton

2008-04-13 Thread John Chambers
Seems to be an R bug in evaluating the source code in your file. As the message says, something is trying to evaluate the "list" argument to package.skeleton. My guess is that it's the unfortunate choice of "list" as an argument name interacting with your use of list() in the code in essai.r

[Rd] R 2.7 package.skeleton

2008-04-13 Thread cgenolin
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 --