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".
Kasper
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@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel