Commit 1bad53b
Explicit Rcpp:: in the initalize method for C++ classes wrapped inside modules. (#980)
* Otherwise the Rcpp functions are unknown when objects are initialized, unless Rcpp is attached.
* This is relevant for classes inside of modules created via Module(), both inline and in packages, but is not an issue when loadModule() is used for packages.1 parent 84c787f commit 1bad53b
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
237 | | - | |
| 236 | + | |
| 237 | + | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| |||
0 commit comments