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

Dirk Eddelbuettel edd at debian.org
Mon Dec 9 13:19:49 CET 2013


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



More information about the R-devel mailing list