[R] Patch submission / request.

Allen S. Rout asr at ufl.edu
Fri Apr 23 21:58:09 CEST 2010


There's a coalescing group which is working to imitate Dirk's fine
translation of CRAN to APT, in the Fedora/Red-Hat flavored land.

One of the things we're trying to do is implement as much as is
possible in R directly, and use as much of the existing package
management infrastructure as we can.

To this end, I humbly submit a few small patches to that

The first of the two patches below is the more important one; It adds
to 'getDependencies' an 'installed' option, defaulting to NULL.  This
permits us to specify a counterfactual set of "installed packages".
With this option in place, we can ask getDependencies "What would
someone need, to install this package, if they only had -thus-

In practice, -thus-, for us, attempts to be "just the base packages".

The second of the two patches is more cosmetic.  getDependencies is
quite verbose about what it's doing, and it would be nice to be able
to mask the merely informative messages.  The patch adds a 'verbose'
option, defaulting to TRUE.  This permits us to turn off the message()
about "Oh, I'm doing this too".  The second patch includes the
functionality of the first.

Currently, I'm using a copied-and-pasted version of getDependencies,
with my hacks in place and some moderately evil namespace traipsing to
get at the rest of the utilities.  I would much rather make use of the
code in situ.

- Allen S. Rout

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff.min
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100423/29b147bc/attachment.pl>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff.max
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100423/29b147bc/attachment-0001.pl>

More information about the R-help mailing list