Skip to content

Commit 08e6c89

Browse files
committed
one paragraph addition mentioning Imports as alternative to Depends
1 parent 05e8b77 commit 08e6c89

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vignettes/Rcpp-attributes.Rnw

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,10 @@ Depends: Rcpp (>= 0.10.0), RcppArmadillo (>= 0.3.4.4)
441441
LinkingTo: Rcpp, RcppArmadillo
442442
@
443443

444+
Using a \texttt{Imports} declaration together with an \texttt{import} or
445+
\texttt{importFrom} statement in the file \texttt{NAMESPACE} is a more recent
446+
alternative.
447+
444448
\subsection{Exporting R Functions}
445449

446450
Within interactive sessions you call the \texttt{sourceCpp} function

0 commit comments

Comments
 (0)