[R] R CMD Build feature searches or requests

From: Johannes Graumann <johannes_graumann_at_web.de>
Date: Thu, 06 Dec 2007 09:54:23 +0100


Hello,

I'm missing two features in "R CMD build": 1) Easy building of Windows/zip packaged package version alongside the *nix-style *.tar.gz.
Right now I'm doing a scripted version of

        R CMD build <PACKAGE>
        R CMD INSTALL <PACKAGE>
        mkdir tmp
        cp -r /usr/local/lib/R/site-library/<PACKAGE> tmp/<PACKAGE>
        cd tmp
        zip -r <PACKAGE>_<EXTRACTEDVERSION>.zip <PACKAGE> 
        mv *.zip ..
        cd ..
        rm -rf tmp

I was wondering whether it wouldn't be helpfull to others maintaining packages not requiring genuine cross-compilation (only containing R code) to deal with this via an option to "R CMD build". Something like '-zip-package' might do it ...
2) My scripted solution right now also automatically increments version numbers and adjusts dates in <PACKAGE>/man/<PACKAGE>-package.Rd and <PACKAGE>/DESCRIPTION, ensuring progressing and continuous package naming. Would be nice to have an "R CMD build"-option to take care of that too ...

Please let me know what you think or where to find the functionality in case I overlooked it.

Thanks, Joh



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 06 Dec 2007 - 09:05:13 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 06 Dec 2007 - 09:30:17 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.