From gregor.gorjanc at bfro.uni-lj.si  Fri Dec 29 04:10:43 2006
From: gregor.gorjanc at bfro.uni-lj.si (Gregor Gorjanc)
Date: Fri, 29 Dec 2006 03:10:43 +0000 (UTC)
Subject: [Rd] setGeneric and file order in a package
References: <20061228201558.GB23253@wheat.betterworld.us>
Message-ID: <loom.20061229T040847-224@post.gmane.org>

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



[Rd] setGeneric and file order in a package
Gregor Gorjanc