From maechler at stat.math.ethz.ch  Tue Sep 21 08:58:16 2004
From: maechler at stat.math.ethz.ch (Martin Maechler)
Date: Tue Sep 21 08:58:17 2004
Subject: [Rd] R-2.0.0 Install problem for pkg bundle w inter-dependent
	namespaces
In-Reply-To: <D7A3CFD7825BD6119B880002A58F06C20C521C42@groexmb02.pfizer.com>
References: <D7A3CFD7825BD6119B880002A58F06C20C521C42@groexmb02.pfizer.com>
Message-ID: <16719.53512.90991.731709@gargle.gargle.HOWL>

>>>>> "Greg" == Warnes, Gregory R <gregory_r_warnes@groton.pfizer.com>
>>>>>     on Mon, 20 Sep 2004 15:10:32 -0400 writes:

    >> -----Original Message----- From: Martin Maechler
    >> [mailto:maechler@stat.math.ethz.ch]
    Greg> [...]  So, what is the proper way to handle this?  Is
    Greg> there some way to manually specify the package install
    Greg> order?
    >>  Well, isn't the order in the 'Contains:' field of the
    >> bundle DESCRIPTION file used?  If not, please consider
    >> sending patches for src/scripts/INSTALL.in
    >> 

    Greg> OK, that's the simple thing that I had been
    Greg> overlooking. Changing the the Contains line to provide
    Greg> the packages in the order that they should be
    Greg> installed fixed the problem.

    Greg> May I suggest that the significance of the ordering in
    Greg> the Contains: field be added to the (extremely brief)
    Greg> description of in "Writing R Extensions"?

    Greg> Perhaps change the text to:

    Greg> 	The 'Contains' field lists the packages, which
    Greg> should be contained in separate subdirectories with
    Greg> the names given.  During buiding and installation,
    Greg> packages will be installed in the order specified.  Be
    Greg> sure to order this list so that dependencies are
    Greg> appropriately met.

    Greg> 	The packages contained in a bundle are standard
    Greg> packages in all respects except that the 'DESCRIPTION'
    Greg> file is replaced by a 'DESCRIPTION.in' file which just
    Greg> contains fields additional to the 'DESCRIPTION' file
    Greg> of the bundle, for example ...

Good idea, thank you!
I just committed this (with a typo corrected).

Martin


[Rd] R-2.0.0 Install problem for pkg bundle w inter-dependent namespaces
Martin Maechler