[Sciviews-commits] r399 - pkg/svUnit/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Sep 19 12:04:46 CEST 2011
Author: mariotomo
Date: 2011-09-19 12:04:46 +0200 (Mon, 19 Sep 2011)
New Revision: 399
Modified:
pkg/svUnit/R/runExamples.R
Log:
name of unit containing tests from examples <- 'examples'
Modified: pkg/svUnit/R/runExamples.R
===================================================================
--- pkg/svUnit/R/runExamples.R 2011-09-19 09:29:01 UTC (rev 398)
+++ pkg/svUnit/R/runExamples.R 2011-09-19 10:04:46 UTC (rev 399)
@@ -28,7 +28,7 @@
tryCatch(withCallingHandlers({ do.call(example, list(topic=x, package=packageName)); checkTrue(TRUE); },
warning=function(w) { checkIdentical(NULL, w) }),
error=function(w) checkIdentical(NULL, w)))
- attr(result, 'unit') <- 'check.man'
+ attr(result, 'unit') <- 'examples'
attr(result, 'name') <- x
result
})
More information about the Sciviews-commits
mailing list