Re: [Rd] R CMD check in Windows

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Mon, 19 Nov 2007 16:02:46 +0000 (GMT)

My guess is the that problem is that the current directory is under c:\Documents and Settings\miguel, and that is not supported.

Try using a directory without spaces in its name.

On Mon, 19 Nov 2007, Duncan Murdoch wrote:

> 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
>
> ______________________________________________
> R-devel_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Mon 19 Nov 2007 - 16:05:37 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 - 18:30:19 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.