-
-
Notifications
You must be signed in to change notification settings - Fork 219
Expand file tree
/
Copy pathloadRcppModules-deprecated.Rd
More file actions
26 lines (25 loc) · 884 Bytes
/
loadRcppModules-deprecated.Rd
File metadata and controls
26 lines (25 loc) · 884 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
\name{loadRcppModules-deprecated}
\alias{loadRcppModules}
\title{
Loads Rcpp modules on package startup
}
\description{
\emph{Note:} As of release 0.12.5, this function is deprecated;
\code{\link{loadModule}} should be used instead.
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}}, \code{\link{loadModule}}
}
\keyword{interface}