https://github.com/cran/Rcpp
Revision a5efaaa5edad752264a962eba18c2fe7b700f19e authored by Dirk Eddelbuettel and Romain Francois on 28 November 2010, 06:24:47 UTC, committed by cran-robot on 28 November 2010, 06:24:47 UTC
1 parent 521bd2d
Raw File
Tip revision: a5efaaa5edad752264a962eba18c2fe7b700f19e authored by Dirk Eddelbuettel and Romain Francois on 28 November 2010, 06:24:47 UTC
version 0.8.9
Tip revision: a5efaaa
RcppUnitTests.Rd
\name{RcppUnitTests}
\alias{RcppUnitTests}

\title{Rcpp : unit tests results}
\description{
Unit tests results for package Rcpp. 

Unit tests are run automatically at build time and reports are included in the
\samp{doc} directory as html or text. 
}

\seealso{
\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}}
}

\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{
# unit tests are in the unitTests directory of the package
list.files( system.file("unitTests", package = "Rcpp" ), 
	pattern = "^runit", full = TRUE )

# trigger the unit tests preparation, follow printed instructions
# on how to run them
\dontrun{
source( system.file("unitTests", "runTests.R", package = "Rcpp" ) )
}
}

\keyword{programming}
back to top