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

Martin Maechler maechler at stat.math.ethz.ch
Tue Sep 21 08:58:16 CEST 2004

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

    >> -----Original Message----- From: Martin Maechler
    >> [mailto:maechler at 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).


More information about the R-devel mailing list