RE: [Rd] R-2.0.0 Install problem for pkg bundle w inter-dependent namespaces

From: Martin Maechler <maechler_at_stat.math.ethz.ch>
Date: Tue 21 Sep 2004 - 16:58:16 EST

>>>>> "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



R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue Sep 21 17:02:18 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:45:16 EST