Skip to content

Commit 428b471

Browse files
committed
update manual page to match update code
1 parent c73730a commit 428b471

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

man/Rcpp.plugin.maker.Rd

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
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{
1010
Rcpp.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

Comments
 (0)