[BioC] placement of DTD files in a package?

Robert Gentleman rgentlem@jimmy.harvard.edu
Wed, 20 Mar 2002 17:40:57 -0500


On Wed, Mar 20, 2002 at 02:19:56PM -0800, Anthony Rossini wrote:
> On Wed, 20 Mar 2002, Vincent Carey 525-2265 wrote:
> 
> > 
> > > So, do DTD files get placed under data or in a completely separate location, for installation purposes?  (i.e. ../package/data, ../package/inst/xml,  or ../package/inst/dtd, or other??)
> > >
> > 
> > i know of no convention on this.  we may not need one.
> > package code that uses the DTD will have to be explicit
> > about its location.  any of the choices you list may
> > be appropriate depending on the visibility and separateness
> > of resources desired by the package designer.
> >
> > does this lead to cacophony in package structure?
> > i don't think so.
> 
> I think I agree with you.  I don't have strong feelings on the matter, other than if a standard workflow for determination exists, that I might as well use it.  The context is the DTD describing the XML format for a dataset.  I'm tempted to stick it in ../package/inst/dtd, but was wondering how others have dealt with it.  I sent the question here, since the number of package developers using R XML outside of this particular mailing list seems small.
> 
  Me either, somehow I think of it (at least a bit) as data so I like
 package/inst/data
  but almost anything is fine
  we just need to ensure it gets copied over to the installation
  directory so it can get found automatically.




> best,
> -tony
> 
> 
> 
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor@stat.math.ethz.ch
> http://www.stat.math.ethz.ch/mailman/listinfo/bioconductor

-- 
+---------------------------------------------------------------------------+
| Robert Gentleman                 phone : (617) 632-5250                   |
| Associate Professor              fax:   (617)  632-2444                   |
| Department of Biostatistics      office: M1B28
| Harvard School of Public Health  email: rgentlem@jimmy.dfci.harvard.edu   |
+---------------------------------------------------------------------------+