Skip to content

packages checks on OS X with 2.12 devel

3 messages · Max Kuhn, Brian Ripley

#
I'm checking packages under the devel version on OS X
R version 2.12.0 Under development (unstable) (2010-08-08 r52687)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

I install packages via install.packages with type = "source" (I stick
to arch=x86_64). I've had no issues with installs.

When I check packages via

   R --arch=x86_64 CMD check package

I see:

   * using platform: x86_64-apple-darwin9.8.0 (64-bit)
?
   * loading checks for arch ?i386?
?
   * loading checks for arch ?x86_64?
?
   ** running examples for arch ?i386?

The check then fails since the packages are not installed on i386. I tried

   R --arch=x86_64 --no-multiarch CMD check package

but that still runs checks on x86_64 and i386. I didn't find anything
else in the "what's new" for the latest devel version.

I'd prefer not to install the full crane and bioconductor set in both
architectures. Any suggestions (especially for the documentation that
I'm sure exists but I can't find).

Thanks,

Max
#
On Tue, 10 Aug 2010, Max Kuhn wrote:

            
What is very strange is that you seem to have built R with two archs: 
why if you don't want to use i386?  If you build R with just one arch, 
it will only install/check ... that one arch.  So this is shooting 
yourself in the foot!
--no-multiarch is an option to check, not to R.
Rdev CMD check --help and the R-exts manual both cover this.
#
Professor Ripley,
I used the pre-compiled version from http://r.research.att.com/.
Perhaps something has changed there; I've never had this come up as an
issue.
This is the mistake on my part. Everything is working now.

Thanks,

Max