[Sciviews-commits] r323 - in pkg/svUnit: . R man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Sep 30 14:05:13 CEST 2010
Author: phgrosjean
Date: 2010-09-30 14:05:13 +0200 (Thu, 30 Sep 2010)
New Revision: 323
Modified:
pkg/svUnit/DESCRIPTION
pkg/svUnit/NEWS
pkg/svUnit/R/svUnit-internal.R
pkg/svUnit/man/svUnit-package.Rd
Log:
svUnit internals: using backquote for name of test case (more appropriate for variable names in S language than single quotes).
Starting modifications for version 0.7-4 of the svUnit package
Modified: pkg/svUnit/DESCRIPTION
===================================================================
--- pkg/svUnit/DESCRIPTION 2010-09-30 07:10:32 UTC (rev 322)
+++ pkg/svUnit/DESCRIPTION 2010-09-30 12:05:13 UTC (rev 323)
@@ -4,8 +4,8 @@
Depends: R (>= 1.9.0)
Suggests: svGUI, datasets, utils
Description: A complete unit test system and functions to implement its GUI part
-Version: 0.7-3
-Date: 2010-09-05
+Version: 0.7-4
+Date: 2010-09-30
Author: Philippe Grosjean
Maintainer: Philippe Grosjean <phgrosjean at sciviews.org>
License: GPL-2
Modified: pkg/svUnit/NEWS
===================================================================
--- pkg/svUnit/NEWS 2010-09-30 07:10:32 UTC (rev 322)
+++ pkg/svUnit/NEWS 2010-09-30 12:05:13 UTC (rev 323)
@@ -1,5 +1,11 @@
= svUnit News
+== svUnit 0.7-4
+
+* Backquoting of test name in evaluation instruction, allowing to use
+ syntactically incorrect names for tests.
+
+
== svUnit 0.7-3
* Loading of svUnit sometimes failed during checking of the SciViews-K Unit
Modified: pkg/svUnit/R/svUnit-internal.R
===================================================================
--- pkg/svUnit/R/svUnit-internal.R 2010-09-30 07:10:32 UTC (rev 322)
+++ pkg/svUnit/R/svUnit-internal.R 2010-09-30 12:05:13 UTC (rev 323)
@@ -388,8 +388,8 @@
options(warn = nwarn)
## Evaluate the test function in the .TestEnv environment
- cmd <- paste("evalq(.LogRes <- try( { .setUp(); '", test,
- "'(); .tearDown() }, silent = TRUE), envir = envir)", sep = "")
+ cmd <- paste("evalq(.LogRes <- try( { .setUp(); `", test,
+ "`(); .tearDown() }, silent = TRUE), envir = envir)", sep = "")
eval(parse(text = cmd))
## Analyze error => is it a deactivation or error in the code?
Modified: pkg/svUnit/man/svUnit-package.Rd
===================================================================
--- pkg/svUnit/man/svUnit-package.Rd 2010-09-30 07:10:32 UTC (rev 322)
+++ pkg/svUnit/man/svUnit-package.Rd 2010-09-30 12:05:13 UTC (rev 323)
@@ -16,8 +16,8 @@
\tabular{ll}{
Package: \tab svUnit\cr
Type: \tab Package\cr
- Version: \tab 0.7-3\cr
- Date: \tab 2009-09-05\cr
+ Version: \tab 0.7-4\cr
+ Date: \tab 2009-09-30\cr
License: \tab GPL 2 or above, at your convenience\cr
}
More information about the Sciviews-commits
mailing list