[Rd] First package submission to CRAN

David Scott d.scott at auckland.ac.nz
Thu Jun 23 01:51:10 CEST 2011


  On 23/06/11 08:34, Christophe Dutang wrote:
> Hi,
>
> By default, R CMD build makes sources, you have to use --binary if you want to get binaries. But you have to submit sources to the CRAN ftp server (and not binary). So just run a R CMD build.
>
> C
>
> --
> Christophe Dutang
> Ph.D. student at ISFA, Lyon, France
> website: http://dutangc.free.fr

That is now deprecated Christophe. Recommended now is

R CMD INSTALL --build

to get a binary. See the recent thread with the subject

Porting "unmaintained" packages to post R 2.10.0 era

David Scott

> Le 22 juin 2011 à 22:12, steven mosher a écrit :
>
>> I'm preparing to submit my first package to CRAN, thanks to the help of too
>> many people to mention.
>>
>> I've built and checked the package on Windows  ( making a zip) and my path
>> points to the 64 bit version of R.
>>
>> Everything builds and checks and the final warnings have been fixed. My
>> package is pure R with no source from
>>
>> other languages.  My questions are  as follows. I've read the docs and just
>> need a bit of clarification.
>>
>> 1. For submission I should just build source  R CMD build mypkg  which
>> outputs a tar.gz
>> 2. Do I have to/ how do I build for 32 bit?
>>
>> Thanks,
>>
>> Steve
>>
>> 	[[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel


-- 
_________________________________________________________________
David Scott	Department of Statistics
		The University of Auckland, PB 92019
		Auckland 1142,    NEW ZEALAND
Phone: +64 9 923 5055, or +64 9 373 7599 ext 85055
Email:	d.scott at auckland.ac.nz,  Fax: +64 9 373 7018



More information about the R-devel mailing list