Re: [Rd] setGeneric and file order in a package

From: Gregor Gorjanc <gregor.gorjanc_at_bfro.uni-lj.si>
Date: Fri 29 Dec 2006 - 03:10:43 GMT

Ross Boylan <ross <at> biostat.ucsf.edu> writes:
> Are there any assumptions I can make about the order in which
> different files in the R package subdirectory will be evaluated? For
> example, will it be alphabetical in the file names? Will case
> distinctions be ignored?

Take a look at collate field in DESCRIPTION file. This is from BioC wiki[1]

"If you are using S4 classes or methods, add a Collate field to your package's DESCRIPTION file. Generally, class definitions come first, generics second, methods third, and then everything else."

Gregor

[1]http://wiki.fhcrc.org/bioc/Package_Guidelines



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Dec 29 14:15:51 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 29 Dec 2006 - 04:31:04 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.