[R] error building package: packaging into .tar.gz failed

Uwe Ligges ligges at statistik.tu-dortmund.de
Thu Jun 30 19:09:58 CEST 2011



On 30.06.2011 18:51, Juliet Hannah wrote:
> I am trying to build a package using windows xp. Here is the error I am getting:
>
> R CMD build myfunctions
>
> * checking for file 'myfunctions/DESCRIPTION' ... OK
> * preparing 'myfunctions':
> * checking DESCRIPTION meta-information ... OK
> * checking for LF line-endings in source and make files
> * checking for empty or unneeded directories
> * building 'myfunctions_1.0.tar.gz'
>   ERROR
> packaging into .tar.gz failed
 >
> Could anyone suggest possible things to check? Thanks.

Permissions in the current directory, for example.
If you cannot find out, you may want to make a self tarred version 
available on some web server so that we can check it is not a problem in 
the package but with your setup.

Uwe Ligges



>> sessionInfo()
> R version 2.13.0 (2011-04-13)
> Platform: i386-pc-mingw32/i386 (32-bit)
>
> locale:
> [1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United
> States.1252    LC_MONETARY=English_United States.1252 LC_NUMERIC=C
> [5] LC_TIME=English_United States.1252
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> ______________________________________________
> 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