File: Rcpp.plugin.maker.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 (38 lines) | stat: -rw-r--r-- 1,289 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
27
28
29
30
31
32
33
34
35
36
37
38
\name{Rcpp.plugin.maker}
\alias{Rcpp.plugin.maker}
\title{
  Facilitating making package plugins
}
\description{
  This function helps packages making inline plugins. 
}
\usage{
Rcpp.plugin.maker(
  include.before = "", 
  include.after = "", 
  LinkingTo = unique(c(package, "Rcpp")), 
  Depends = unique(c(package, "Rcpp")), 
  Imports = unique(c(package, "Rcpp")), 
  libs = "", 
  Makevars = NULL, 
  Makevars.win = NULL, 
  package = "Rcpp"
)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
  \item{include.before}{Code to be included before the \samp{Rcpp.h} file}
  \item{include.after}{Code to be included after the \samp{Rcpp.h} file }
  \item{LinkingTo}{Packages to be added to the \samp{LinkingTo} field }
  \item{Depends}{Packages to be added to the \samp{Depends} field [deprecated] }
  \item{Imports}{Packages to be added to the \samp{Depends} field }
  \item{libs}{library flags}
  \item{Makevars}{content for a \samp{Makevars} file, or \code{NULL}}
  \item{Makevars.win}{content for a \samp{Makevars.win} file, or \code{NULL}}
  \item{package}{The package this plugin is for. }
}
\value{
  A function that is suitable as a plugin. See for example the 
  \samp{RcppArmadillo} package that uses this to create its inline plugin. 
}
\keyword{interface}