Hi Henrik, There seems to be a similar problem here in my package, reported by https://github.com/yixuan/rARPACK/issues/4. The reporter said that the runtime error occured when using RStudio, but disappeared in RGui. Is this the same situation as yours?
Best, Yixuan 2014-10-15 14:59 GMT-04:00 Henrik Singmann < henrik.singm...@psychologie.uni-freiburg.de>: > Dear list, > > I have the following weird problem and would be really glad for any input: > > The windows binary from CRAN for my package MPTinR, which uses RcppEigen, > leads to an "Assertion failed" error which crashes R with a simple example > given below (which unfortunately is not part of the examples and henceforth > not tested by CRAN). > > Interestingly enough, the problem disappears when installing the package > on Windows from source or when using Linux (Ubuntu). But it also appears > when using a binary version of MPTinR from winbuilder (temporarily > available here: http://win-builder.r-project.org/h18PJ7B55VAq), R-devel > and corresponding binary from CRAN, and I could replicate the error on a > range of different Windows machines. The error also always disappears when > installing from source. I am also extremely confident that this problem > didn't exist in the past, I and others have used this functionality > regularly with the CRAN windows binary. > > ###### code starts ####### > require(MPTinR) > data(d.broeder) > m.2htm <- system.file("extdata", "5points.2htm.model", package = "MPTinR") > get.mpt.fia(d.broeder, m.2htm) > ###### code ends ####### > > The complete error message is: > > ###### error message starts ####### > Assertion failed! > > Program: C:\Program Files\RStudio\bin\x64\rsession.exe > File: > d:/RCompile/CRANpkg/lib/3.1/RcppEigen/include/Eigen/src/Core/ProductBase.h, > Line 95 > > Expression: a_lhs.cols() == a_rhs.rows() && "invalid matrix product" && > "if you wanted a coeff-wise or a dot product use the respective explicit > functions" > > This application has requested the Runtime to terminate it in an unusual > way. > Please contact the application's support team for more information. > ###### error message ends ####### > > When adding such an example to the code and resubmitting it to winbuilder > it now also crashes, see http://win-builder.r-project. > org/0ei38q0t48h2/00check.log > But again, when installing the same package on my machine from source it > works. > > Best, > Henrik > > PS: A session info (without attaching MPTinR) is given below: > > R version 3.1.1 (2014-07-10) > Platform: x86_64-w64-mingw32/x64 (64-bit) > > locale: > [1] LC_COLLATE=German_Switzerland.1252 LC_CTYPE=German_Switzerland.1252 > LC_MONETARY=German_Switzerland.1252 > [4] LC_NUMERIC=C LC_TIME=German_Switzerland.1252 > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > other attached packages: > [1] devtools_1.6 > > loaded via a namespace (and not attached): > [1] fortunes_1.5-2 tools_3.1.1 > > > > -- > Dr. Henrik Singmann > Universität Zürich, Schweiz > http://singmann.org > _______________________________________________ > Rcpp-devel mailing list > Rcpp-devel@lists.r-forge.r-project.org > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel -- Yixuan Qiu <yixuan....@cos.name> Department of Statistics, Purdue University
_______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel