swh:1:snp:cae2596088bc8b92147ee77a766423472ecb4710
Raw File
Tip revision: 6334372bac70355c4f0366eb4bc60f9e54d42e40 authored by Dirk Eddelbuettel on 10 January 2016, 22:18:26 UTC
version 0.12.3
Tip revision: 6334372
loadRcppModules.Rd
\name{loadRcppModules}
\alias{loadRcppModules}
\title{
Loads Rcpp modules on package startup
}
\description{
Function to simplify loading Rcpp modules contained in a package. 
This function must be called from the \code{.onLoad} function of a package. 
It uses the \code{RcppModules} field of the package \code{DESCRIPTION} file
to query the names of the modules that the package should export, loads each module, 
and \code{\link{populate}} each module into the package NAMESPACE.
}
\usage{
loadRcppModules(direct=TRUE)
}
\arguments{
    \item{direct}{if \code{TRUE} the content of the module is exposed in the
    namespace. Otherwise, the module is exposed. }
}
\seealso{
    \code{\link{populate}}
}
\keyword{interface}

back to top