[Rcpp-devel] NULL value passed as symbol address with all C++functions

Dirk Eddelbuettel edd at debian.org
Thu Nov 8 13:32:42 CET 2018


On 7 November 2018 at 22:53, Barth Riley wrote:
| @Dirk: I didn’t want to overwhelm those on the list with tons of code. Below is the full source for the function. What else would you need to see? 
| 
| After clearing my environment variables, I am now getting the following error:
| 
| Error in logit(30, 0, 100) : 
|   function 'enterRNGScope' not provided by package 'Rcpp'

Someting more fundamental may be out of line as that is _of course_ part of
Rcpp and provided. Maybe you don't importFrom(Rcpp, evalCpp) in NAMESPACE or
declare the dyn.lib wrong.
 
| I do have some roxygen documentation errors in my package? Might this have an effect in producing the error?

No, just check CRAN -- hundreds of Rcpp packages use roxygen.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org


More information about the Rcpp-devel mailing list