File: loadRcppModules-deprecated.Rd

package info (click to toggle)
rcpp 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,480 kB
  • sloc: cpp: 27,436; ansic: 7,778; sh: 53; makefile: 2
file content (26 lines) | stat: -rw-r--r-- 884 bytes parent folder | download | duplicates (5)
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}