[Rcpp-devel] mzR and Rcpp - could not find function "errorOccured"

Laurent Gatto lg390 at cam.ac.uk
Tue Jun 26 20:39:11 CEST 2012


Dear all,

The mzR package [0] depends on Rcpp and the following issue has
appeared under some configurations:

> library(mzR)
Loading required package: Rcpp
Error : .onLoad failed in loadNamespace() for 'mzR', details:
 call: value[[3L]](cond)
 error: failed to load module Ramp from package mzR
could not find function "errorOccured"
Error: package/namespace load failed for 'mzR'

Reported on
- Mac OSX 10.7, R 2.15.0, package versions unknown [1]
- 64-bit Windows 7, R 2.15.1, mzR 1.2.1, Rcpp 0.9.12 [2]

Downgrading to Rcpp 0.9.10 does not produce the above error. Did not
have a 0.9.11 Windows binary nor a Mac to test other versions.

The problem, however, does not occur with the same package versions
and R-2.15.1 on
- Windows Server 2008 R2 Enterprise SP1 (64-bit) [3]
- Mac OS X Leopard (10.5.8) [4]
- Linux openSUSE 11.4 [5] and Ubuntu 12.04 (local box), both x86_64

No problem either on the respective Bioconductor servers and local
linux running R-devel and mzR 1.3.7 (devel version).

I am assuming that this is related to Rcpp, but am pretty much stuck.
Could this be related to "errorOccuredSym never used and commented
out" from the ChangeLog?

Any help greatly appreciated.

Best wishes,

Laurent

[0] http://bioconductor.org/packages/2.10/bioc/html/mzR.html
[1] http://stackoverflow.com/questions/11181691/r-bioconductor-mzr-library-load-error
[2] https://stat.ethz.ch/pipermail/bioconductor/2012-June/046496.html
[3] http://bioconductor.org/checkResults/2.10/bioc-LATEST/moscato2-NodeInfo.html
[4] http://bioconductor.org/checkResults/2.10/bioc-LATEST/petty-NodeInfo.html
[5] http://bioconductor.org/checkResults/2.10/bioc-LATEST/lamb2-NodeInfo.html


More information about the Rcpp-devel mailing list