Skip to content

Commit faa7fbc

Browse files
committed
Include LinkingTo in DESCRIPTION fields scanned to confirm that C++ dependencies are referenced by package.
1 parent 3cab0e5 commit faa7fbc

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2014-09-02 JJ Allaire <[email protected]>
2+
3+
* R/Attributes.R: Include LinkingTo in DESCRIPTION fields scanned
4+
to confirm that C++ dependencies are referenced by package.
5+
16
2014-09-01 Kevin Ushey <[email protected]>
27

38
* inst/include/Rcpp/vector/ListOf.h: `size()` member function should

R/Attributes.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,8 @@ compileAttributes <- function(pkgdir = ".", verbose = getOption("verbose")) {
344344
pkgDesc <- read.dcf(descFile)[1,]
345345
pkgname = .readPkgDescField(pkgDesc, "Package")
346346
depends <- c(.readPkgDescField(pkgDesc, "Depends", character()),
347-
.readPkgDescField(pkgDesc, "Imports", character()))
347+
.readPkgDescField(pkgDesc, "Imports", character()),
348+
.readPkgDescField(pkgDesc, "LinkingTo", character()))
348349
depends <- unique(.splitDepends(depends))
349350
depends <- depends[depends != "R"]
350351

inst/NEWS.Rd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
\itemize{
2828
\item In \code{ifelse()}, the returned \code{NA} type was corrected for
2929
\code{operator[]}
30+
\item Changes in Rcpp Attributes:
31+
\itemize{
32+
\item Include LinkingTo in DESCRIPTION fields scanned to confirm that
33+
C++ dependencies are referenced by package.
3034
}
3135
\item Changes in Rcpp Documentation:
3236
\itemize{

0 commit comments

Comments
 (0)