11\name {Rcpp.plugin.maker }
22\alias {Rcpp.plugin.maker }
33\title {
4- Facilitating making package plugins
4+ Facilitating making package plugins
55}
66\description {
7- This function helps packages making inline plugins.
7+ This function helps packages making inline plugins.
88}
99\usage {
1010Rcpp.plugin.maker(
1111 include.before = " " ,
1212 include.after = " " ,
1313 LinkingTo = unique(c(package , " Rcpp" )),
1414 Depends = unique(c(package , " Rcpp" )),
15+ Imports = unique(c(package , " Rcpp" )),
1516 libs = " " ,
1617 Makevars = NULL ,
1718 Makevars.win = NULL ,
@@ -23,14 +24,15 @@ Rcpp.plugin.maker(
2324 \item {include.before }{Code to be included before the \samp {Rcpp.h } file }
2425 \item {include.after }{Code to be included after the \samp {Rcpp.h } file }
2526 \item {LinkingTo }{Packages to be added to the \samp {LinkingTo } field }
26- \item {Depends }{Packages to be added to the \samp {Depends } field }
27+ \item {Depends }{Packages to be added to the \samp {Depends } field [deprecated ] }
28+ \item {Imports }{Packages to be added to the \samp {Depends } field }
2729 \item {libs }{library flags }
2830 \item {Makevars }{content for a \samp {Makevars } file , or \code {NULL }}
2931 \item {Makevars.win }{content for a \samp {Makevars.win } file , or \code {NULL }}
3032 \item {package }{The package this plugin is for . }
3133}
3234\value {
33- A function that is suitable as a plugin. See for example the
34- \samp {RcppArmadillo } package that uses this to create its inline plugin.
35+ A function that is suitable as a plugin. See for example the
36+ \samp {RcppArmadillo } package that uses this to create its inline plugin.
3537}
3638\keyword {interface }
0 commit comments