[Rcpp-commits] r481 - pkg/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jan 27 08:35:35 CET 2010


Author: romain
Date: 2010-01-27 08:35:34 +0100 (Wed, 27 Jan 2010)
New Revision: 481

Modified:
   pkg/man/RcppUnitTests.Rd
Log:
fix RcppUnitTests html rendering

Modified: pkg/man/RcppUnitTests.Rd
===================================================================
--- pkg/man/RcppUnitTests.Rd	2010-01-27 04:58:28 UTC (rev 480)
+++ pkg/man/RcppUnitTests.Rd	2010-01-27 07:35:34 UTC (rev 481)
@@ -10,16 +10,16 @@
 }
 
 \seealso{
-\ifelse{latex}{}{\ifelse{html}{\out{<pre>}}{}}
 \ifelse{latex}{}{\ifelse{html}{\url{../doc/unitTests-results/Rcpp-unitTests.html}: html formatted unit test report}{\samp{../doc/unitTests-results/Rcpp-unitTests.html}: html formatted unit test report}}
-\ifelse{latex}{}{\ifelse{html}{\out{</pre>}}{}}
 }
 
 \details{
+\ifelse{latex}{}{\ifelse{html}{\out{<pre>}}{}}
 \Sexpr[echo=FALSE,results=text]{ 
 txt <- system.file( "doc", "unitTests-results", "Rcpp-unitTests.txt", package = "Rcpp" )
 if( file.exists( txt ) ) paste( readLines( txt ), collapse = "\n\n" ) else ""
 }
+\ifelse{latex}{}{\ifelse{html}{\out{</pre>}}{}}
 }
 
 \examples{
@@ -27,7 +27,8 @@
 list.files( system.file("unitTests", package = "Rcpp" ), 
 	pattern = "^runit", full = TRUE )
 
-# trigger the unit tests, follow printed instructions
+# trigger the unit tests preparation, follow printed instructions
+# on how to run them
 \dontrun{
 source( system.file("unitTests", "runTests.R", package = "Rcpp" ) )
 }



More information about the Rcpp-commits mailing list