inst/unitTests/testRcppModule/R/zzz.R

NAMESPACE <- environment()

.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("NumEx", TRUE)
#loadModule("yada", TRUE)
#loadModule("stdVector", TRUE)

Try the Rcpp package in your browser

Any scripts or data that you put into this service are public.

Rcpp documentation built on May 2, 2019, 5:23 p.m.