[Sciviews-commits] r403 - pkg/svUnit/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Sep 20 10:44:39 CEST 2011
Author: mariotomo
Date: 2011-09-20 10:44:38 +0200 (Tue, 20 Sep 2011)
New Revision: 403
Modified:
pkg/svUnit/R/runExamples.R
Log:
altering the name of the unit because java-minded Jenkins splits it in
a package plus a class name: 'examples' goes into '(root)', 'examples'
while rcheck.examples goes into 'rcheck', 'examples'.
Modified: pkg/svUnit/R/runExamples.R
===================================================================
--- pkg/svUnit/R/runExamples.R 2011-09-20 07:57:31 UTC (rev 402)
+++ pkg/svUnit/R/runExamples.R 2011-09-20 08:44:38 UTC (rev 403)
@@ -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') <- 'examples'
+ attr(result, 'unit') <- 'rcheck.examples'
result
})
}
More information about the Sciviews-commits
mailing list