This function helps packages making inline plugins.
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"
)
A function that is suitable as a plugin. See for example the
RcppArmadillo package that uses this to create its inline plugin.
Code to be included before the Rcpp.h file
Code to be included after the Rcpp.h file
Packages to be added to the LinkingTo field
Packages to be added to the Depends field [deprecated]
Packages to be added to the Depends field
library flags
content for a Makevars file, or NULL
content for a Makevars.win file, or NULL
The package this plugin is for.