Skip to content
Prev 34307 / 63424 Next

unit testing for R packages?

On 05/10/2009 4:39 PM, spencerg wrote:
This will fail in a future release of R, because those aren't valid 
expressions within \dontshow{}, which expects R code.  You can achieve 
the same effect using the clearer

all.equal(A,B)
\dontshow{ stopifnot(isTrue(.Last.value)) }

Duncan Murdoch