Juliet Hannah
2011-Jun-30 16:51 UTC
[R] error building package: packaging into .tar.gz failed
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
Uwe Ligges
2011-Jun-30 17:09 UTC
[R] error building package: packaging into .tar.gz failed
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.
Juliet Hannah
2011-Sep-07 17:02 UTC
[R] error building package: packaging into .tar.gz failed
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 >