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

Uwe Ligges ligges at statistik.tu-dortmund.de
Sat Sep 10 17:10:56 CEST 2011



On 07.09.2011 19:02, Juliet Hannah wrote:
> To follow up (because I received a few emails off-list), things work now.
>
> I'm not sure what I did differently. In case it is helpful:
>
> I reinstalled R tools, and edited by path so that
>
> C:\Rtools\bin;C:\Rtools\perl\bin;C:\Rtools\MinGW\bin;C:\Program
> files\R\R-2.13.1\bin;C:\Program Files\HTML Help Workshop

The last entry (HTML Help Workshop) is not longer required for recent 
versions of R, since R does not make use of the Help Workshop any more.

Uwe Ligges


>
> was at the beginning.
>
> With this, my attempts at package creation worked.
>
> On Thu, Jun 30, 2011 at 12:51 PM, Juliet Hannah<juliet.hannah at gmail.com>  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.
>>
>>> 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