[Rd] R CMD check in Windows
Prof Brian Ripley
ripley at stats.ox.ac.uk
Mon Nov 19 17:02:46 CET 2007
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
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
More information about the R-devel