Re: [Rcpp-devel] Rcpp Module: Expecting an external pointer: [type=environment]

2025-03-11 Thread Dirk Eddelbuettel
Hi Stefan, On 11 March 2025 at 17:32, Stefan Boehringer wrote: | with a standard Rcpp module I get the error "Expecting an external pointer: | [type=environment]." from x$.self$finalize() |  which is an internal wrapper around modules from Rcpp. Would you have a complete example, say in a repo?

[Rcpp-devel] Rcpp Module: Expecting an external pointer: [type=environment]

2025-03-11 Thread Stefan Boehringer
Dear all, with a standard Rcpp module I get the error "Expecting an external pointer: [type=environment]."from x$.self$finalize()  which is an internal wrapper around modules from Rcpp. The underlying C++ class allocates memory through standard STL object allocation. The class does perform di