Re: [R] Convert windows package to Linux source package

2008-10-31 Thread Renaud Gaujoux
Indeed in the case of a lazy-loaded package it looks a bit tricky, but it should still be possible, as I guess one can access the source code of any function defined in a package, once loaded (am I wrong?). When no lazy-load takes place then it is actually quite straight forward as you said Du

Re: [R] Convert windows package to Linux source package

2008-10-30 Thread Prof Brian Ripley
On Thu, 30 Oct 2008, Duncan Murdoch wrote: On 10/30/2008 10:50 AM, Renaud Gaujoux wrote: Hi, is there a simple way, I mean a utility that converts a windows package (.zip file) to a Linux source package (tar.gz or even simply extract the source code and Rd files needed to run successfully a

Re: [R] Convert windows package to Linux source package

2008-10-30 Thread Duncan Murdoch
On 10/30/2008 10:50 AM, Renaud Gaujoux wrote: Hi, is there a simple way, I mean a utility that converts a windows package (.zip file) to a Linux source package (tar.gz or even simply extract the source code and Rd files needed to run successfully a R CMD check). The windows package doesn't hav

Re: [R] Convert windows package to Linux source package

2008-10-30 Thread Renaud Gaujoux
Well... thanks for the hint (...) but it happens that it is not as simple... You need to do some changes: - the first thing is to delete the 'Built' section from the DESCRIPTION file - + other stuffs... Thanks roger koenker wrote: unzip url:www.econ.uiuc.edu/~rogerRoger Koen

[R] Convert windows package to Linux source package

2008-10-30 Thread Renaud Gaujoux
Hi, is there a simple way, I mean a utility that converts a windows package (.zip file) to a Linux source package (tar.gz or even simply extract the source code and Rd files needed to run successfully a R CMD check). The windows package doesn't have any external lib, C code, etc..., just plain