inst/unitTests/testRcppModule/R/zzz.R

#
#.onLoad <- function(libname, pkgname){
#    loadRcppModules()
#}

## For R 2.15.1 and later this also works. Note that calling loadModule() triggers
## a load action, so this does not have to be placed in .onLoad() or evalqOnLoad().
loadModule("RcppModuleNumEx", TRUE)
loadModule("RcppModuleWorld", TRUE)
loadModule("stdVector", TRUE)
RcppCore/Rcpp documentation built on May 10, 2018, 8:49 p.m.