[R-sig-Debian] Fwd: How to convert R package and dependencies to debian packages?

Don Armstrong don at donarmstrong.com
Tue Apr 22 21:35:55 CEST 2014


On Tue, 22 Apr 2014, Dirk Eddelbuettel wrote:
> On 22 April 2014 at 20:15, Sathish Kumar wrote:
> | Is there a way to convert any R package and it's internal dependencies to a
> | Debian package similar to the approach used in creating r-cran-*.deb?
> 
> You may underestimate how how hard this is but it has been done a few times
> as cran2deb.
> 
> The best current version is for Debian and at
> 
>     http://debian-r.debian.net
> 
> Don reads this list (I think ...) and may chime in.

Right; pretty much every package that you may want is already built for
unstable and squeeze.

If you're running stable (or want to build specific packages on your
own), you can just add the deb-src lines for those packages, and run
apt-get source -b r-cran-foopkg; as appropriate.

-- 
Don Armstrong                      http://www.donarmstrong.com

I learned really early the difference between knowing the name of
something and knowing something
 -- Richard Feynman "What is Science" Phys. Teach. 7(6) 1969



More information about the R-SIG-Debian mailing list