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

Juliet Hannah juliet.hannah at gmail.com
Wed Sep 7 19:02:24 CEST 2011


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

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
>



More information about the R-help mailing list