[R] a question regarding package building

Uwe Ligges ligges at statistik.tu-dortmund.de
Thu Jun 26 20:41:29 CEST 2008



Tao Shi wrote:
> Hi List,
> 
> In Windows, if I do " R CMD build mypkg", then I'll get 'mypkg_1.0.tar.gz'.  Any option in R CMD build lets me to change the version, i.e. gives me 'mypkg_2.0.tar.gz"?   It seems "-version" option doesn't do anything for me.
> 
> Is it OK if I just change the version number in the file name manually?

No, you need to change it in the DESCRIPTION file.

Uwe Ligges

> 
> Thanks,
> 
> 
> ...Tao
> 
> _________________________________________________________________
> The i’m Talkathon starts 6/24/08.  For now, give amongst yourselves.
> 
> ______________________________________________
> 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.



More information about the R-help mailing list