From ripley at stats.ox.ac.uk  Mon May 22 14:07:49 2006
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Mon, 22 May 2006 13:07:49 +0100 (BST)
Subject: [Rd] R CMD check problem
In-Reply-To: <362788DA-397C-4513-A3EF-7D16162B4A03@soc.soton.ac.uk>
References: <362788DA-397C-4513-A3EF-7D16162B4A03@soc.soton.ac.uk>
Message-ID: <Pine.LNX.4.64.0605221305530.15222@gannet.stats.ox.ac.uk>

This is specific to the `universal' MacOS X binary: it is saying it cannot 
run the i386 executable.  If this is not a i386 Mac, some variable is set 
wrong. In any case, I suggest the R-sig-mac list.

On Mon, 22 May 2006, Robin Hankin wrote:

> Hi
>
> I have a package that I'm testing.
> It seems to install fine and it works, as far as I can tell.
> For example, I can install the package, and use it,
>  and source the test suite with no errors.
>
> My problem is with R CMD check.
>
> It passes on R-2.2-0:
>
> Robin-Hankins-Computer:~/scratch% R CMD check ./partitions_1.1-0.tar.gz
> * checking for working latex ... OK
>
> [snip]
>
> make[1]: Leaving directory `/users/sat/rksh/partitions.Rcheck/tests'
> OK
> * creating partitions-manual.tex ... OK
> * checking partitions-manual.tex ... OK
>
>
>
>
> But it doesn't pass on R-2.3.0, MacOSX:
>
>
>
> Robin-Hankins-Computer:~/scratch% R CMD check ./partitions_1.1-0.tar.gz
> * checking for working latex ... OK
> *[snip]
>
> * checking examples ... OK
> * checking tests ...
>   Running 'aaa.R'
> make[1]: *** [aaa.Rout] Error 1
> make: *** [all] Error 2
> ERROR
>
> checking  aaa.Rout.fail, I get
>
> Robin-Hankins-Computer:~/scratch% cat ./partitions.Rcheck/tests/
> aaa.Rout.fail
> /Library/Frameworks/R.framework/Resources/bin/R: line 192: /Library/
> Frameworks/R.framework/Resources/bin/exec/i386/R: cannot execute
> binary file
> /Library/Frameworks/R.framework/Resources/bin/R: line 192: /Library/
> Frameworks/R.framework/Resources/bin/exec/i386/R: Unknown error: 0
> Robin-Hankins-Computer:~/scratch%
>
>
>
> anyone got any insight into this?
>
>
>
>
> --
> Robin Hankin
> Uncertainty Analyst
> National Oceanography Centre, Southampton
> European Way, Southampton SO14 3ZH, UK
>  tel  023-8059-7743
>
> ______________________________________________
> 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



[Rd] R CMD check problem
Prof Brian Ripley