Re: [Rcpp-devel] NULL value passed as symbol address

2014-10-16 Thread Kamil Slowikowski
Please ignore my previous message. I solved my own problem. I defined `expected_errors()` 2 times. Once in the .cpp file and once in a .R file using `cppFunction()`. I simply forgot to delete the R file. ___ Rcpp-devel mailing list Rcpp-devel@lists.r-for

[Rcpp-devel] NULL value passed as symbol address

2014-10-16 Thread Kamil Slowikowski
Why must I call my C++ function using the `.Call()` syntax? Why can't I call it by name? Other C++ functions in my package do not have this problem. It's just this one that has the NULL symbol address. ``` > library(kamlib) Attaching package: ‘kamlib’ > expected_errors(c('')) Error in .Primi