[Rd] "R CMD check" accepts but "R CMD INSTALL" rejects a tar ball.

From: Hin-Tak Leung <hintak_leung_at_yahoo.co.uk>
Date: Fri, 01 Apr 2011 15:19:14 +0100 (BST)


I have somehow managed to made a source tar ball which "R CMD check" accepts but "R CMD INSTALL" rejects with:



Warning in untar2(tarfile, files, list, exdir) :   checksum error for entry 'pax_global_header' Error in untar2(tarfile, files, list, exdir) : unsupported entry type ā€˜gā€™

This happens with both R 2.12.2 (x86 linux) and R svn (x86_64 linux). Since R CMD check does install as part of the check process, there is probably a bug somewhere. The tar ball is uploaded at:

http://htl10.users.sourceforge.net/tmp/Matrix_0.999375-48.tar.gz

and tar -xzpvf works. It is possible to do R CMD INSTALL from the untar'ed data, so I am a bit lost at where the problem is.

The tar ball was generated with

   git archive ... | gzip > package.tar.gz similar to the example at the bottom of git-archive.

It is the result of git cherry-pick trunk_at_2658 + Matrix-for-R-2.13_at_2657 .



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 01 Apr 2011 - 14:32:49 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 01 Apr 2011 - 16:30:40 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive