Re: [Rd] package development

2008-12-11 Thread Duncan Murdoch
On 11/12/2008 6:04 PM, Terry Therneau wrote: I'm making the move of the survival package from my own environment to, and have stumbled into a vacuum. The R Extensions manual has really nice instructions about how to lay out the directories, order the files, and run tests for DISTRIBUTION of a

Re: [Rd] package development

2008-12-11 Thread Mark.Bravington
Hi Terry I suspect many people struggle with similar issues. The new version of mvbutils contains a number of routines that facilitate creation & maintenance of a package, hopefully through its entire life-cycle: from "documenting your own stuff for personal use", through "giving out semi-docu

Re: [Rd] package development

2008-12-11 Thread Mathieu Ribatet
Dear Terry, One way to locate which file is wrong - surely not the most brillant way! You could do an R script that sources each of your .R files within a "for (file in file.names)" loop. When R will stop, it will indicate which file has a wrong syntax and more info. Cheers, Mathieu Terry T

[Rd] package development

2008-12-11 Thread Terry Therneau
I'm making the move of the survival package from my own environment to, and have stumbled into a vacuum. The R Extensions manual has really nice instructions about how to lay out the directories, order the files, and run tests for DISTRIBUTION of a product, but I can't find anything on how to s

[Rd] enhancement proposals to R

2008-12-11 Thread Adrian Dragulescu
Hello, I am not aware of any facility for users to submit proposals for R enhancements. Something along the lines Phython has: http://www.python.org/dev/peps/ It would also be interesting to have a way for people to vote on the proposals in order to get a feeling for the importance of the addit

Re: [Rd] Checking your package's help files

2008-12-11 Thread Prof Brian Ripley
The check summaries now available at http://cran.r-project.org/web/checks/check_summary.html will indicate most of the problems being detected in CRAN packages: look at the log (click on the link) for your package in the first or second column. On Sun, 7 Dec 2008, Prof Brian Ripley wrote: I

Re: [Rd] S4 coercion

2008-12-11 Thread Michael Lawrence
Hi, I am having a similar issue as reported by Paul, but I don't think Martin's example is precisely representative of the problem. Consider a hierarchy A <- B <- C: > setClass("A") [1] "A" > setClass("B", contains="A") [1] "B" > setClass("C", contains="B") [1] "C" Now define a coerce method: