2008/8/31 Tom spot Callaway <tcallawa(a)redhat.com>:
On Sun, 2008-08-31 at 13:35 +0100, Dan Bolser wrote:
> I think the first step would be to build a dummy RPM that includes all
> the R-libraries that come by default with R. Such things as base,
> lattice, stats, etc., etc. All these libraries could (?) be rolled
> into an RPM called R-libs (or something), and then when packaging an
> R-library that depends on 'stats', for example, the dependency would
> be satisfied by R-libs... Is that possible?
The R package already does this:
Provides: R-base = %{version}
Provides: R-boot = 1.2
Provides: R-class = 7.2
Provides: R-cluster = 1.11.11
Provides: R-codetools = 0.2
Provides: R-datasets = %{version}
Provides: R-foreign = 0.8
Provides: R-graphics = %{version}
Provides: R-grDevices = %{version}
Provides: R-grid = %{version}
Provides: R-KernSmooth = 2.22
Provides: R-lattice = 0.17
Provides: R-MASS = 7.2
Provides: R-methods = %{version}
Provides: R-mgcv = 1.4
Provides: R-nlme = 3.1
Provides: R-nnet = 7.2
Provides: R-rpart = 3.1
Provides: R-spatial = 7.2
Provides: R-splines = %{version}
Provides: R-stats = %{version}
Provides: R-stats4 = %{version}
Provides: R-survival = 2.34
Provides: R-tcltk = %{version}
Provides: R-tools = %{version}
Provides: R-utils = %{version}
Provides: R-VR = 7.2
%{version} is the version of R, in this case, 2.7.2.
That is excellent. Thanks for the info.
Now is there any way to cross check these against what R actually has
installed? I am trying to think about ways that the R-installer could
be used in combination with the packages... or is the idea to package
the whole of CRAN? Where would such a repo be maintained? How would it
be kept in sync with CRAN?
Please just point me at the relevant docs if I am asking questions
that have been covered before ;-)
Cheers,
Dan.
~spot
_______________________________________________
Fedora-r-devel-list mailing list
Fedora-r-devel-list(a)redhat.com
http://www.redhat.com/mailman/listinfo/fedora-r-devel-list
--
http://network.nature.com/profile/dan