[Rcpp-commits] r2665 - in pkg: Rcpp/R Rcpp/inst/include RcppClassic/inst/doc
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Dec 2 12:39:23 CET 2010
Author: romain
Date: 2010-12-02 12:39:23 +0100 (Thu, 02 Dec 2010)
New Revision: 2665
Modified:
pkg/Rcpp/R/bib.R
pkg/Rcpp/inst/include/deprecation.h
pkg/RcppClassic/inst/doc/Makefile
pkg/RcppClassic/inst/doc/RcppClassic.Rnw
Log:
without the extension
Modified: pkg/Rcpp/R/bib.R
===================================================================
--- pkg/Rcpp/R/bib.R 2010-12-02 11:24:58 UTC (rev 2664)
+++ pkg/Rcpp/R/bib.R 2010-12-02 11:39:23 UTC (rev 2665)
@@ -16,5 +16,5 @@
# along with Rcpp. If not, see <http://www.gnu.org/licenses/>.
bib <- function(){
- system.file( "doc", "Rcpp.bib", package = "Rcpp" )
+ system.file( "doc", "Rcpp", package = "Rcpp" )
}
Modified: pkg/Rcpp/inst/include/deprecation.h
===================================================================
--- pkg/Rcpp/inst/include/deprecation.h 2010-12-02 11:24:58 UTC (rev 2664)
+++ pkg/Rcpp/inst/include/deprecation.h 2010-12-02 11:39:23 UTC (rev 2665)
@@ -23,6 +23,6 @@
#define deprecation_H
// uncomment this to not include the deprecated api
-// #define RCPP_NO_CLASSIC_API
+#define RCPP_NO_CLASSIC_API
#endif
Modified: pkg/RcppClassic/inst/doc/Makefile
===================================================================
--- pkg/RcppClassic/inst/doc/Makefile 2010-12-02 11:24:58 UTC (rev 2664)
+++ pkg/RcppClassic/inst/doc/Makefile 2010-12-02 11:39:23 UTC (rev 2665)
@@ -18,6 +18,6 @@
RcppClassic.pdf: RcppClassic.Rnw
R CMD Sweave RcppClassic.Rnw
- Rscript --vanilla -e "tools::texi2dvi( 'RcppClassic.tex', pdf = TRUE, clean = TRUE )"
+ Rscript --vanilla -e "tools::texi2dvi( 'RcppClassic.tex', pdf = TRUE, clean = FALSE )"
rm -fr RcppClassic.tex
Modified: pkg/RcppClassic/inst/doc/RcppClassic.Rnw
===================================================================
--- pkg/RcppClassic/inst/doc/RcppClassic.Rnw 2010-12-02 11:24:58 UTC (rev 2664)
+++ pkg/RcppClassic/inst/doc/RcppClassic.Rnw 2010-12-02 11:39:23 UTC (rev 2665)
@@ -21,7 +21,8 @@
\maketitle
This document presents the \texttt{RcppClassic} package. This package
-has been factored out of \texttt{Rcpp} and only contains code that is
+has been factored out of \texttt{Rcpp} \citep{CRAN:Rcpp}
+and only contains code that is
considered deprecated.
This package is released for the sole purpose of allowing package authors
@@ -92,6 +93,8 @@
% TODO: add some more content, or just point to the Rcpp vignettes ?
+\bibliography{\Sexpr{Rcpp:::bib()}}
+
\end{document}
%%% Local Variables:
More information about the Rcpp-commits
mailing list