Re: [R] error preparing a package for lazy loading with R CMD

2005-01-30 Thread Patrick Giraudoux H
Trouble just solved by Uwe Ligge! See below: You have a wrong Built field in your DESCRIPTION file!!! Built: R 2.0.1;windows Please don't specify such a line yourself, R CMD build does it for you. Ashes on my head and all these sort of things... Patrick

Re: [R] error preparing a package for lazy loading with R CMD

2005-01-30 Thread Patrick Giraudoux H
Trouble just solved by Uwe Ligge! See below: You have a wrong Built field in your DESCRIPTION file!!! Built: R 2.0.1;windows. Please don't specify such a line yourself, R CMD build does it for you. Ashes on my head and all these sort of things... Patrick

Re: [R] error preparing a package for lazy loading with R CMD

2005-01-30 Thread Prof Brian Ripley
On Sun, 30 Jan 2005, Patrick Giraudoux H wrote: Trouble just solved by Uwe Ligge! See below: You have a wrong Built field in your DESCRIPTION file!!! Built: R 2.0.1;windows. Please don't specify such a line yourself, R CMD build does it for you. Actually, installation does it: build adds

RE: [R] error preparing a package for lazy loading with R CMD

2005-01-25 Thread Henrik Bengtsson
A wild guess: Do you have one file one function? Could it be that the last line in one of the files does not end with a newline and this is not taken care of by the build with lazy loading? Try to add a newline at the end of each of your files. Henrik Bengtsson -Original Message- From:

RE: [R] error preparing a package for lazy loading with R CMD

2005-01-24 Thread Liaw, Andy
Not sure if this will help, but have you tried loading the package after install with no lazyload? I've found that if there are syntax errors in the R source, that can give the problem you described. Just a guess. Andy From: Patrick Giraudoux H Dear Lister, I work with R 2.0.1 and

RE: [R] error preparing a package for lazy loading with R CMD

2005-01-24 Thread Patrick Giraudoux H
That's the way John Fox advised to turn the problem. Indeed it works but doe snot explain this bug in lazy loading. I don't think that it may come for a syntax error somewhere. All the functions have been checked and the problem does not occur if any of the 35 functions is removed. Something