[Rcpp-commits] r467 - pkg/inst/doc

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Jan 26 15:56:12 CET 2010


Author: romain
Date: 2010-01-26 15:56:07 +0100 (Tue, 26 Jan 2010)
New Revision: 467

Modified:
   pkg/inst/doc/
   pkg/inst/doc/Rcpp-unitTests.Rnw
   pkg/inst/doc/index.html
Log:
make sure files generated by the vignette don't disappear


Property changes on: pkg/inst/doc
___________________________________________________________________
Name: svn:ignore
   - RcppAPI.pdf
html
latex
man
Rcpp-unitTests.pdf
Rcpp-unitTests.html
Rcpp-unitTests.txt


   + RcppAPI.pdf
html
latex
man
Rcpp-unitTests.pdf
Rcpp-unitTests.html
Rcpp-unitTests.txt
unitTests-results


Modified: pkg/inst/doc/Rcpp-unitTests.Rnw
===================================================================
--- pkg/inst/doc/Rcpp-unitTests.Rnw	2010-01-26 13:53:51 UTC (rev 466)
+++ pkg/inst/doc/Rcpp-unitTests.Rnw	2010-01-26 14:56:07 UTC (rev 467)
@@ -12,16 +12,19 @@
 <<echo=FALSE,results=hide>>=
 pkg <- "Rcpp"
 
-require( Rcpp )
+# load this package
+require( pkg, character.only = TRUE )
 
-runit <- "RUnit"
-require( runit, character.only = TRUE )
+#load RUnit
+runit <- "RUnit" ; require( runit, character.only = TRUE )
+if( file.exists( "unitTests-results" ) ){ unlink("unitTests-results", recursive = TRUE ) }
+dir.create( "unitTests-results" ) 
 
 path <- system.file("unitTests", package = pkg)
 testSuite <- defineTestSuite(name=paste(pkg, "unit testing"), dirs = path)
 tests <- runTestSuite(testSuite)
-printHTMLProtocol(tests, fileName= sprintf( "%s-unitTests.html" , pkg ) )
-printTextProtocol(tests, fileName= sprintf( "%s-unitTests.txt"  , pkg ) )
+printHTMLProtocol(tests, fileName= sprintf( "unitTests-results/%s-unitTests.html" , pkg ) )
+printTextProtocol(tests, fileName= sprintf( "unitTests-results/%s-unitTests.txt"  , pkg ) )
 if( file.exists( "/tmp" ) ){
 	file.copy( sprintf( "%s-unitTests.txt" , pkg ) , "/tmp", overwrite = TRUE )
 	file.copy( sprintf( "%s-unitTests.html", pkg ) , "/tmp", overwrite = TRUE )
@@ -30,7 +33,7 @@
 
 \begin{verbatim}
 <<echo=F,results=tex>>=
-writeLines( readLines( "Rcpp-unitTests.txt" ) ) 
+writeLines( readLines( "unitTests-results/Rcpp-unitTests.txt" ) ) 
 @
 \end{verbatim}
 

Modified: pkg/inst/doc/index.html
===================================================================
--- pkg/inst/doc/index.html	2010-01-26 13:53:51 UTC (rev 466)
+++ pkg/inst/doc/index.html	2010-01-26 14:56:07 UTC (rev 467)
@@ -4,7 +4,27 @@
 </head><body>
 <h2>Vignettes of package Rcpp </h2>
 <ul>
-	<li><a href="Rcpp-unitTests.html">unit tests</a>:(html) unit test report</li>
-	<li><a href="Rcpp-unitTests.pdf">unit tests</a>: (pdf) unit test report</li>
+<li><a href="Rcpp-unitTests.html">unit tests</a>:(html) unit test report</li>
+<li><a href="Rcpp-unitTests.pdf">unit tests</a>: (pdf) unit test report</li>
 </ul>
+
+<h2>Online documentation</h2>
+
+<ul>
+<li><a href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp main page</a></li>
+<li><a href="http://dirk.eddelbuettel.com/code/rcpp/html/index.html">doxygen generated documentation</a></li>
+<!-- FIXME: is there a particular section of the blog about Rcpp -->
+<li><a href="http://dirk.eddelbuettel.com/blog">Dirk's blog</a></li>
+<li><a href="http://romainfrancois.blog.free.fr/index.php?category/R-package/Rcpp">Romain's blog section about Rcpp</a></li>
+</ul>
+      
+<h2>Development</h2>
+
+<ul>
+<li><a href="http://r-forge.r-project.org/projects/rcpp/">R-forge page for Rcpp</a></li>
+<li><a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel">Rcpp-devel mailing list</a> 
+(<a href="http://lists.r-forge.r-project.org/pipermail/rcpp-devel/">archives</a>) </li>
+<li><a href="http://r-forge.r-project.org/tracker/?group_id=155">Request tracker</a></li>
+</ul>
+
 </body></html>



More information about the Rcpp-commits mailing list