[Rcpp-commits] r2077 - pkg/Rcpp/inst/doc/Rcpp-package

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Sep 7 14:15:07 CEST 2010


Author: romain
Date: 2010-09-07 14:15:06 +0200 (Tue, 07 Sep 2010)
New Revision: 2077

Modified:
   pkg/Rcpp/inst/doc/Rcpp-package/Rcpp-package.Rnw
Log:
adding require(Rcpp) just in case

Modified: pkg/Rcpp/inst/doc/Rcpp-package/Rcpp-package.Rnw
===================================================================
--- pkg/Rcpp/inst/doc/Rcpp-package/Rcpp-package.Rnw	2010-09-07 01:04:24 UTC (rev 2076)
+++ pkg/Rcpp/inst/doc/Rcpp-package/Rcpp-package.Rnw	2010-09-07 12:15:06 UTC (rev 2077)
@@ -30,6 +30,7 @@
 \title{Writing a package that uses \pkg{Rcpp} }
 
 <<echo=FALSE>>=
+require( Rcpp )
 link <- function( f, package, text = f, root = "http://finzi.psych.upenn.edu/R/library/" ){
 	h <- if( missing(package) ) {
 		as.character( help( f ) )



More information about the Rcpp-commits mailing list