Skip to content

Commit 3166829

Browse files
committed
moved bibtext file to be always accessible
location in vignettes meant installation from source made it unavailable
1 parent 5625a23 commit 3166829

File tree

10 files changed

+22
-10
lines changed

10 files changed

+22
-10
lines changed

ChangeLog

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
2017-01-12 Dirk Eddelbuettel <[email protected]>
2+
3+
* inst/bib/Rcpp.bib: Moved from vignettes/ directory
4+
* R/bib.R (bib): Idem
5+
6+
* vignettes/Rcpp-FAQ.Rnw: Evaluate \Sexpr{Rcpp:::bib()}
7+
* vignettes/Rcpp-attributes.Rnw: Idem
8+
* vignettes/Rcpp-extending.Rnw: Idem
9+
* vignettes/Rcpp-introduction.Rnw: Idem
10+
* vignettes/Rcpp-modules.Rnw: Idem
11+
* vignettes/Rcpp-packages.Rnw: Idem
12+
* vignettes/Rcpp-sugar.Rnw: Idem
13+
114
2017-01-11 Dirk Eddelbuettel <[email protected]>
215

316
* vignettes/Rcpp.bib: Updated references

R/bib.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2010 - 2012 Dirk Eddelbuettel and Romain Francois
1+
# Copyright (C) 2010 - 2017 Dirk Eddelbuettel and Romain Francois
22
#
33
# This file is part of Rcpp.
44
#
@@ -16,5 +16,5 @@
1616
# along with Rcpp. If not, see <http://www.gnu.org/licenses/>.
1717

1818
bib <- function() {
19-
sub("\\.bib$", "", system.file( "doc", "Rcpp.bib", package = "Rcpp" ) )
19+
sub("\\.bib$", "", system.file("bib", "Rcpp.bib", package = "Rcpp"))
2020
}
File renamed without changes.

vignettes/Rcpp-FAQ.Rnw

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,7 +1329,6 @@ We have since switched to a \href{http://github.com/RcppCore/Rcpp}{Git
13291329
\pkg{RcppEigen}).
13301330

13311331
\bibliographystyle{plainnat}
1332-
\bibliography{Rcpp}
1333-
1332+
\bibliography{\Sexpr{Rcpp:::bib()}}
13341333
\end{document}
13351334

vignettes/Rcpp-attributes.Rnw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ when headers in \texttt{inst/include} change, so you should be sure to perform a
823823
full rebuild of the package after making changes to these headers.
824824

825825
\bibliographystyle{plainnat}
826-
\bibliography{Rcpp}
826+
\bibliography{\Sexpr{Rcpp:::bib()}}
827827

828828
\end{document}
829829

vignettes/Rcpp-extending.Rnw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ to either user-defined or third-party classes via the \texttt{Rcpp::as} and
367367
approaches were discussed.
368368

369369
\bibliographystyle{plainnat}
370-
\bibliography{Rcpp}
370+
\bibliography{\Sexpr{Rcpp:::bib()}}
371371

372372
\end{document}
373373

vignettes/Rcpp-introduction.Rnw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ Ligges, Brian Ripley and Simon Urbanek concerning the build systems for differen
10641064
platforms. Last but not least, several users provided very fruitful
10651065
ideas for new or extended features via the \code{rcpp-devel} mailing list.
10661066

1067-
\bibliography{Rcpp}
1067+
\bibliography{\Sexpr{Rcpp:::bib()}}
10681068

10691069
\vspace*{-0.35cm}
10701070

vignettes/Rcpp-modules.Rnw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ We hope that \proglang{R} and \proglang{C++} programmers
10471047
find \textsl{Rcpp modules} useful.
10481048

10491049
\bibliographystyle{plainnat}
1050-
\bibliography{Rcpp}
1050+
\bibliography{\Sexpr{Rcpp:::bib()}}
10511051

10521052
\end{document}
10531053

vignettes/Rcpp-package.Rnw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ package. The use of the \rdoc{Rcpp}{Rcpp.package.skeleton} was shown in
470470
detail, and references to further examples were provided.
471471

472472
\bibliographystyle{plainnat}
473-
\bibliography{Rcpp}
473+
\bibliography{\Sexpr{Rcpp:::bib()}}
474474

475475
\end{document}
476476

vignettes/Rcpp-sugar.Rnw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ inline int size() const { return vec.size() ; }
773773
TBD
774774

775775
\bibliographystyle{plainnat}
776-
\bibliography{Rcpp}
776+
\bibliography{\Sexpr{Rcpp:::bib()}}
777777

778778
\end{document}
779779

0 commit comments

Comments
 (0)