[Rcpp-commits] r4466 - pkg/Rcpp/vignettes

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Aug 31 22:58:24 CEST 2013


Author: edd
Date: 2013-08-31 22:58:23 +0200 (Sat, 31 Aug 2013)
New Revision: 4466

Modified:
   pkg/Rcpp/vignettes/Rcpp-FAQ.Rnw
Log:
disabled one R chunk as it requires RcppArmadillo 
(which would be another suggests for the Rcpp package as vignettes are tested by R CMD check)


Modified: pkg/Rcpp/vignettes/Rcpp-FAQ.Rnw
===================================================================
--- pkg/Rcpp/vignettes/Rcpp-FAQ.Rnw	2013-08-31 19:31:50 UTC (rev 4465)
+++ pkg/Rcpp/vignettes/Rcpp-FAQ.Rnw	2013-08-31 20:58:23 UTC (rev 4466)
@@ -472,7 +472,9 @@
 external_highlight( "myfile.cpp", type = "LATEX", doc = FALSE )
 @
 
-<<>>=
+%% Running this now makes the package depend on RcppArmadillo being installed
+%% and would require at least a Suggests
+<<eval=FALSE>>=
 fx <- cxxfunction(
 	signature(x_ = "numeric", Y_ = "matrix", z_ = "numeric" ),
 	paste( readLines( "myfile.cpp" ), collapse = "\n" ),



More information about the Rcpp-commits mailing list