[Rcpp-commits] r1160 - in pkg: Rcpp/man RcppArmadillo RcppArmadillo/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue May 4 11:37:02 CEST 2010


Author: romain
Date: 2010-05-04 11:37:02 +0200 (Tue, 04 May 2010)
New Revision: 1160

Modified:
   pkg/Rcpp/man/Rcpp.package.skeleton.Rd
   pkg/RcppArmadillo/NAMESPACE
   pkg/RcppArmadillo/man/RcppArmadillo-package.Rd
Log:
make check happy

Modified: pkg/Rcpp/man/Rcpp.package.skeleton.Rd
===================================================================
--- pkg/Rcpp/man/Rcpp.package.skeleton.Rd	2010-05-04 09:33:08 UTC (rev 1159)
+++ pkg/Rcpp/man/Rcpp.package.skeleton.Rd	2010-05-04 09:37:02 UTC (rev 1160)
@@ -30,18 +30,17 @@
 	In addition to \link[utils]{package.skeleton} : 
 	
 	The \samp{DESCRIPTION} file gains a Depends line requesting that 
-	the package depends on Rcpp and a LinkingTo lines so that the package
+	the package depends on Rcpp and a LinkingTo line so that the package
 	finds Rcpp header files.
 	
 	The \samp{NAMESPACE}, if any, gains a \code{useDynLib} directive.
 	
 	The \samp{src} directory is created if it does not exists and 
 	a \samp{Makevars} file is added setting the environment variables
-	\samp{PKG_CXXFLAGS} and \samp{PKG_LIBS} to accomodate the necessary flags
-	to link with the Rcpp library. 
+	\samp{PKG_LIBS} to accomodate the necessary flags to link with the Rcpp library. 
 	
 	If the \code{example_code} argument is set to \code{TRUE}, 
-	xample files \samp{rcpp_hello_world.h} and \samp{rcpp_hello_world.cpp}
+	example files \samp{rcpp_hello_world.h} and \samp{rcpp_hello_world.cpp}
 	are also created in the \samp{src}. An R file \samp{rcpp_hello_world.R} is 
 	expanded in the \samp{R} directory, the \code{rcpp_hello_world} function
 	defined in this files makes use of the C++ function \samp{rcpp_hello_world}
@@ -63,8 +62,7 @@
 }
 \examples{
 \dontrun{
-f <- function(){}
-Rcpp.package.skeleton( "foobar", "f" )
+Rcpp.package.skeleton( "foobar" )
 }
 }
 \keyword{ programming }

Modified: pkg/RcppArmadillo/NAMESPACE
===================================================================
--- pkg/RcppArmadillo/NAMESPACE	2010-05-04 09:33:08 UTC (rev 1159)
+++ pkg/RcppArmadillo/NAMESPACE	2010-05-04 09:37:02 UTC (rev 1160)
@@ -2,3 +2,4 @@
 
 export(fastLm)
 export(RcppArmadillo.package.skeleton)
+

Modified: pkg/RcppArmadillo/man/RcppArmadillo-package.Rd
===================================================================
--- pkg/RcppArmadillo/man/RcppArmadillo-package.Rd	2010-05-04 09:33:08 UTC (rev 1159)
+++ pkg/RcppArmadillo/man/RcppArmadillo-package.Rd	2010-05-04 09:37:02 UTC (rev 1160)
@@ -60,9 +60,9 @@
 \Sexpr[results=rd, echo=FALSE, stage=render]{
 paste( 
 	"\\\\preformatted{Depends: Rcpp (>=", 
-	packageDescription("Rcpp")[["Version"]] ,
+	utils::packageDescription("Rcpp")[["Version"]] ,
 	"), RcppArmadillo (>= ",
-	packageDescription("RcppArmadillo")[["Version"]] ,
+	utils::packageDescription("RcppArmadillo")[["Version"]] ,
 	")\\nLinkingTo: Rcpp, RcppArmadillo\\n}", sep = "" ) 	
 }
 



More information about the Rcpp-commits mailing list