File tree Expand file tree Collapse file tree 3 files changed +9
-10
lines changed
inst/unitTests/testRcppModule Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 11useDynLib(testRcppModule)
22exportPattern("^[[:alpha:]]+")
3- import(Rcpp)
3+ import(Rcpp,methods )
44
Original file line number Diff line number Diff line change 11
22rcpp_hello_world <- function (){
3- .Call( " rcpp_hello_world" , PACKAGE = " testRcppModule" )
3+ .Call( " rcpp_hello_world" , PACKAGE = " testRcppModule" )
44}
55
Original file line number Diff line number Diff line change 1- NAMESPACE <- environment()
2-
3- .onLoad <- function (libname , pkgname ){
4- loadRcppModules()
5- }
1+ #
2+ # .onLoad <- function(libname, pkgname){
3+ # loadRcppModules()
4+ # }
65
76# # For R 2.15.1 and later this also works. Note that calling loadModule() triggers
87# # a load action, so this does not have to be placed in .onLoad() or evalqOnLoad().
9- # loadModule("NumEx", TRUE)
10- # loadModule("yada", TRUE)
11- # loadModule("stdVector", TRUE)
8+ loadModule(" NumEx" , TRUE )
9+ loadModule(" yada" , TRUE )
10+ loadModule(" stdVector" , TRUE )
1211
You can’t perform that action at this time.
0 commit comments