Skip to content

Commit 95d0854

Browse files
authored
Merge pull request #1078 from RcppCore/feature/library_vignette
Add new vignette about packaging C++ libraries (closes #1077)
2 parents 6ae0ab4 + 754a492 commit 95d0854

File tree

9 files changed

+914
-399
lines changed

9 files changed

+914
-399
lines changed

ChangeLog

Lines changed: 399 additions & 390 deletions
Large diffs are not rendered by default.

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: Rcpp
22
Title: Seamless R and C++ Integration
3-
Version: 1.0.4.9
4-
Date: 2020-04-26
3+
Version: 1.0.4.10
4+
Date: 2020-04-30
55
Author: Dirk Eddelbuettel, Romain Francois, JJ Allaire, Kevin Ushey, Qiang Kou,
66
Nathan Russell, Douglas Bates and John Chambers
77
Maintainer: Dirk Eddelbuettel <[email protected]>

inst/NEWS.Rd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@
3737
\item Changes in Rcpp Documentation:
3838
\itemize{
3939
\item The pdf file of the earlier introduction is again typeset
40-
with bibliographic information. (Dirk)
40+
with bibliographic information (Dirk).
41+
\item A new vignette describing how to package C++ libraries has
42+
been added (Dirk in \ghpr{1078} fixing \ghit{1077}).
4143
}
4244
\item Changes in Rcpp Deployment:
4345
\itemize{

inst/bib/Rcpp.bib

Lines changed: 51 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,15 @@ @Misc{Brokken:2011:Cpp
7272
url = {http://www.icce.rug.nl/documents/cplusplus/}
7373
}
7474

75+
@Manual{CRAN:BH,
76+
title = {BH: Boost C++ Header Files},
77+
author = {Dirk Eddelbuettel and John W. Emerson and Michael
78+
J. Kane},
79+
year = {2019},
80+
note = {R package version 1.69.0-1},
81+
url = {https://CRAN.R-project.org/package=BH},
82+
}
83+
7584
@Manual{CRAN:Matrix,
7685
title = {\pkg{Matrix}: Sparse and Dense Matrix Classes and Methods},
7786
author = {Douglas Bates and Martin Maechler},
@@ -299,6 +308,15 @@ @Manual{CRAN:minqa
299308
url = CRAN # "package=minqa"
300309
}
301310

311+
@Manual{CRAN:pkgKitten,
312+
title = {pkgKitten: Create Simple Packages Which Do not Upset
313+
R Package Checks},
314+
author = {Dirk Eddelbuettel},
315+
year = {2019},
316+
note = {R package version 0.1.5},
317+
url = CRAN # "package=pkgKitten"
318+
}
319+
302320
@Manual{CRAN:profvis,
303321
title = {profvis: Interactive Visualizations for Profiling R Code},
304322
author = {Winston Chang and Javier Luraschi},
@@ -412,6 +430,8 @@ @Book{Eddelbuettel:2013:Rcpp
412430
address = {New York},
413431
isbn = {978-1-4614-6867-7}
414432
}
433+
; see http://eigen.tuxfamily.org/index.php?title=BibTeX
434+
; replaced 'howpublished' with 'url' and updated year to 2011, and again to 2012
415435
416436
@article{Efron:1979:Bootstrap,
417437
URL = {http://www.jstor.org/stable/2958830},
@@ -430,9 +450,9 @@ @MISC{Eigen:Web
430450
title = {Eigen v3},
431451
year = 2012,
432452
url = {http://eigen.tuxfamily.org},
453+
; see http://eigen.tuxfamily.org/index.php?title=BibTeX
454+
; replaced 'howpublished' with 'url' and updated year to 2011, and again to 2012
433455
}
434-
; see http://eigen.tuxfamily.org/index.php?title=BibTeX
435-
; replaced 'howpublished' with 'url' and updated year to 2011, and again to 2012
436456

437457
@Manual{GSL,
438458
title = {{GNU} {S}cientific {L}ibrary {R}eference {M}anual},
@@ -836,6 +856,7 @@ @inproceedings{Veldhuizen:1998:Blitz
836856
address = {London},
837857
}
838858

859+
839860
@Book{Venables+Ripley:2000:SProgramming,
840861
author = {Willian N. Venables and Brian D. Ripley},
841862
title = {S Programming},
@@ -845,6 +866,7 @@ @Book{Venables+Ripley:2000:SProgramming
845866
address = {New York}
846867
}
847868

869+
848870
@Book{Venables+Ripley:2002:MASS,
849871
title = {Modern Applied Statistics with S},
850872
author = {W. N. Venables and B. D. Ripley},
@@ -855,3 +877,30 @@ @Book{Venables+Ripley:2002:MASS
855877
note = {ISBN 0-387-95457-0},
856878
url = {http://www.stats.ox.ac.uk/pub/MASS4},
857879
}
880+
881+
@misc{arxiv:corels,
882+
title = {Learning Certifiably Optimal Rule Lists for
883+
Categorical Data},
884+
author = {Elaine Angelino and Nicholas Larus-Stone and Daniel
885+
Alabi and Margo Seltzer and Cynthia Rudin},
886+
year = 2017,
887+
howpublished = {\href{http://www.arxiv.org/1704.01701}{arXiv:1704.01701}},
888+
archivePrefix ={arXiv},
889+
primaryClass = {stat.ML}
890+
}
891+
892+
@Misc{github:corels,
893+
author = {Nicholas Laurus-Stone},
894+
title = {corels: {Learning Certifiably Optimal Rule Lists}},
895+
howpublished = {\url{https://github.com/nlarusstone/corels}. Also online at \url{https://corels.eecs.harvard.edu/corels/}},
896+
month = 06,
897+
year = 2019
898+
}
899+
900+
@Misc{github:rcppcorels,
901+
author = {Dirk Eddelbuettel},
902+
title = {RcppCorels: R binding for the 'Certifiably Optimal RulE ListS (Corels)' Learner},
903+
howpublished = {\url{https://github.com/eddelbuettel/rcppcorels}},
904+
month = 11,
905+
year = 2019
906+
}

inst/include/Rcpp/config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#define RCPP_VERSION_STRING "1.0.4"
3131

3232
// the current source snapshot
33-
#define RCPP_DEV_VERSION RcppDevVersion(1,0,4,9)
34-
#define RCPP_DEV_VERSION_STRING "1.0.4.9"
33+
#define RCPP_DEV_VERSION RcppDevVersion(1,0,4,10)
34+
#define RCPP_DEV_VERSION_STRING "1.0.4.10"
3535

3636
#endif

vignettes/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ rnwsources = Rcpp-attributes.Rnw \
1010
Rcpp-FAQ.Rnw \
1111
Rcpp-introduction.Rnw \
1212
Rcpp-jss-2011.Rnw \
13+
Rcpp-libraries.Rnw \
1314
Rcpp-modules.Rnw \
1415
Rcpp-package.Rnw \
1516
Rcpp-quickref.Rnw \
@@ -20,6 +21,7 @@ rnwvignettes = Rcpp-attributes.pdf \
2021
Rcpp-FAQ.pdf \
2122
Rcpp-introduction.pdf \
2223
Rcpp-jss-2011.pdf \
24+
Rcpp-libraries.pdf \
2325
Rcpp-modules.pdf \
2426
Rcpp-package.pdf \
2527
Rcpp-quickref.pdf \

vignettes/Rcpp-libraries.Rnw

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
\documentclass{article}
2+
\usepackage{pdfpages}
3+
%\VignetteIndexEntry{Rcpp-libraries}
4+
%\VignetteKeywords{Rcpp, Package, Library}
5+
%\VignettePackage{Rcpp}
6+
%\VignetteEncoding{UTF-8}
7+
8+
\begin{document}
9+
\includepdf[pages=-, fitpaper=true]{pdf/Rcpp-libraries.pdf}
10+
\end{document}

0 commit comments

Comments
 (0)