[R] creating R packs for all

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Mar 23 19:00:19 CET 2007


On Fri, 23 Mar 2007, Erin Hodgess wrote:

> Dear R People:
>
> I am in the process of creating an R package via Windows.
>
> If I would decide to submit in to CRAN, what would I need to
> do in order to make it run for the Linux or Mac People, please?

If it passes R CMD check on Windows it should work anywhere.  About the 
only thing that is fussier on Unix than Windows is the use of the correct 
line endings for C etc files.  (OTOH, Windows adds restrictions that 'R 
CMD check' checks for Unix users.)

Quite a high proportion of CRAN packages were prepared on Windows, as can 
be seen from the executable text files, Windows not having a concept of an 
'executable file'.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list