[Rcpp-commits] r3717 - pkg/RcppClassic/vignettes

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Jul 24 03:29:34 CEST 2012


Author: edd
Date: 2012-07-24 03:29:33 +0200 (Tue, 24 Jul 2012)
New Revision: 3717

Modified:
   pkg/RcppClassic/vignettes/RcppClassic-intro.Rnw
Log:
 o correction to use of bib() function: as Windows adds .bib anyway, we need to strip it or we end up with "bibtex Rcpp.bib.bib" which fails


Modified: pkg/RcppClassic/vignettes/RcppClassic-intro.Rnw
===================================================================
--- pkg/RcppClassic/vignettes/RcppClassic-intro.Rnw	2012-07-24 01:16:54 UTC (rev 3716)
+++ pkg/RcppClassic/vignettes/RcppClassic-intro.Rnw	2012-07-24 01:29:33 UTC (rev 3717)
@@ -28,6 +28,7 @@
 require( RcppClassic )
 prettyVersion <- packageDescription("RcppClassic")$Version
 prettyDate <- format(Sys.Date(), "%B %e, %Y")
+RcppBibfile <- sub("\\.bib$", "", Rcpp:::bib())
 @
 
 \title{\pkg{RcppClassic}: Deprecated Rcpp API}
@@ -40,7 +41,7 @@
 
 \noindent
 This document presents the \pkg{RcppClassic} package. This package
-has been factored out of \pkg{Rcpp} \citep{CRAN:Rcpp}
+has been factored out of \pkg{Rcpp} \citep{JSS:Rcpp,CRAN:Rcpp}
 and only contains code that is
 considered deprecated.
 
@@ -112,7 +113,7 @@
 
 
 \bibliographystyle{plainnat}
-\bibliography{\Sexpr{Rcpp:::bib()}}
+\bibliography{\Sexpr{RcppBibfile}}
 
 \end{document}
 



More information about the Rcpp-commits mailing list