Re: [Rd] R CMD check in Windows

From: Duncan Murdoch <>
Date: Mon, 19 Nov 2007 10:50:06 -0500

On 11/19/2007 10:37 AM, Fernando Miguez wrote:
> Hi all,
> R CMD check does not work for me under Windows. This is the error
> R CMD check mypackage.tar.gz
> * checking for working latex ... OK
> tar: and: Not found in archive
> tar: Settings/miguez/ ... /00_pkg_src: Not found in archive
> tar: Error exit delayed from previous errors
> Error: cannot untar mypackage.tar.gz
> I know tar is available because R CMD build created the tarball in the
> first place and man tar works.
> I'm mostly working in Linux but if I can fix this it would be nice. Ok
> now I'm thinking that I might have an old version of perl installed and
> this might be the problem. Any suggestions/explanations are welcome.

Old/bad versions of some utility are the likely cause. The Rtools collection contains a custom version of tar; if your PATH is finding a different one first, that could be the trouble.

Take a look at the "Windows Toolset" section of the admin manual, and make sure you follow the instructions about path order (and the rest, too).

It is possible to use a different PATH than the one in the manual, but there are many more choices that fail than there are that succeed.

Duncan Murdoch mailing list Received on Mon 19 Nov 2007 - 15:55:23 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 Mon 19 Nov 2007 - 16:30:19 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.