From edd at debian.org  Mon Dec  9 13:19:49 2013
From: edd at debian.org (Dirk Eddelbuettel)
Date: Mon, 9 Dec 2013 06:19:49 -0600
Subject: [Rd] How to package cran package into a debian package so that
 it can be installed using apt-get
In-Reply-To: <1386585946559-4681859.post@n4.nabble.com>
References: <1386585946559-4681859.post@n4.nabble.com>
Message-ID: <21157.46437.916601.760605@max.nulle.part>


On 9 December 2013 at 02:45, rk0709 wrote:
| Debian packages are not available for all r-cran-* packages. 

They are. Look at 

     http://debian-r.debian.net/

| In one of my R scripts, i am using forecast package which is not available
| as apt-get package. Also it is dependent on R 3.0
| 
| To install such packages on my server i do not want to go by
| install.packages(), rather i would prefer to create debian package.
| 
| How can package cran into a debian package so that i can install it on my
| servers using apt-get ?

There are maybe two hundred r-cran-* packages. Did you look at their sources?
[ Hint: it is pretty mechanic as 'R CMD INSTALL' is well standardized. ]
Did you look at the Debian packaging documentation?  It would probably be a
good exercise for you to try to create your own r-cran-forecast package.

Anyway, all this is probably off-topic for r-devel. Consider the r-sig-debian
list, or one of the Debian lists.

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com



[Rd] How to package cran package into a debian package so that it can be installed using apt-get
Dirk Eddelbuettel