From r.hankin at noc.soton.ac.uk  Mon May 22 13:07:38 2006
From: r.hankin at noc.soton.ac.uk (Robin Hankin)
Date: Mon, 22 May 2006 12:07:38 +0100
Subject: [Rd] R CMD check problem
Message-ID: <362788DA-397C-4513-A3EF-7D16162B4A03@soc.soton.ac.uk>

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



[Rd] R CMD check problem
Robin Hankin