From simon.urbanek at r-project.org  Sat Jul 18 19:06:10 2009
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Sat, 18 Jul 2009 13:06:10 -0400
Subject: [Rd] Any workaround for CRAN Mac OS X compiler switch to R
	2.10.0?
In-Reply-To: <44E94360-4938-4644-A4AF-890043BE00C8@stat.berkeley.edu>
References: <7C4541BB-4CFB-4D30-BF4B-B61274F9A9A5@gmail.com>
	<44E94360-4938-4644-A4AF-890043BE00C8@stat.berkeley.edu>
Message-ID: <027CABAE-E917-4560-B924-B4BDF25FA9BF@r-project.org>


On Jul 17, 2009, at 8:55 PM, Kasper Daniel Hansen wrote:

> This has been discussed on the R-sig-mac email list. The short  
> answer is that something bad happened (bad = R-devel was used to  
> compile CRAN packages) and Simon (who is maintaining this) was  
> traveling. He is working on the problem now. A fix should happen  
> "soon".
>

This is now fixed, but may take a while until all mirrors have caught  
up. You can use the http://r.urbanek.info/ master mirror in the  
meantime.

In fact it affected only a handful packages that didn't build due to  
dependency issues.

Cheers,
Simon



>
> On Jul 17, 2009, at 16:30 , Steven Kembel wrote:
>
>> Hello,
>>
>> Has the CRAN compiler for Mac OS X switched to using R 2.10? I  
>> recently uploaded an update for the package I maintain to CRAN, and  
>> it's no longer possible to run the package after installing CRAN  
>> binaries for this package under Mac OS X 10.5 and R 2.9.1.
>>
>> The package is picante 0.7-1. It passes all checks on CRAN cleanly.  
>> Under R 2.9.1 on Mac OS X 10.5, the package can be installed from  
>> CRAN binaries, but fails to load (see example output at end of this  
>> message). This can be worked around by installing from source.
>>
>> The error seems to be related to looking for and not finding the  
>> file "/Library/Frameworks/R.framework/Versions/2.10/Resources/lib/ 
>> libR.dylib" when installed from binaries.
>>
>> Is anyone else experiencing this, and is there some workaround?
>>
>> Thanks,
>> Steve
>>
>> Code to replicate this problem (R 2.9.1, Mac OS X 10.5):
>>
>> > install.packages('picante')
>> trying URL 'http://ftp5.gwdg.de/pub/misc/cran/bin/macosx/universal/contrib/2.9/picante_0.7-1.tgz'
>> Content type 'application/x-gzip' length 117452 bytes (114 Kb)
>> opened URL
>> ==================================================
>> downloaded 114 Kb
>>
>> The downloaded packages are in
>> 	/var/folders/Ei/EiJQkAf0G-WsCO80yfEpKU+++TI/-Tmp-//RtmpZUZOIo/ 
>> downloaded_packages
>> > library(picante)
>> Loading required package: ape
>> Loading required package: vegan
>> This is vegan 1.15-3
>> Loading required package: nlme
>> Error in dyn.load(file, DLLpath = DLLpath, ...) :
>> unable to load shared library '/Library/Frameworks/R.framework/ 
>> Resources/library/picante/libs/i386/picante.so':
>> dlopen(/Library/Frameworks/R.framework/Resources/library/picante/ 
>> libs/i386/picante.so, 6): Library not loaded: /Library/Frameworks/ 
>> R.framework/Versions/2.10/Resources/lib/libR.dylib
>> Referenced from: /Library/Frameworks/R.framework/Resources/library/ 
>> picante/libs/i386/picante.so
>> Reason: image not found
>> In addition: Warning message:
>> package 'picante' was built under R version 2.10.0
>> Error in library(picante) : .First.lib failed for 'picante'
>> >
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>



[Rd] Any workaround for CRAN Mac OS X compiler switch to R 2.10.0?
Simon Urbanek