[Sciviews-commits] r520 - in pkg: svGUI svGUI/man svHttp svHttp/inst svIDE svUnit svUnit/R svUnit/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Jan 27 22:41:28 CET 2013


Author: phgrosjean
Date: 2013-01-27 22:41:28 +0100 (Sun, 27 Jan 2013)
New Revision: 520

Modified:
   pkg/svGUI/DESCRIPTION
   pkg/svGUI/NEWS
   pkg/svGUI/man/svGUI-package.Rd
   pkg/svHttp/DESCRIPTION
   pkg/svHttp/NEWS
   pkg/svHttp/inst/NEWS.Rd
   pkg/svIDE/NEWS
   pkg/svUnit/DESCRIPTION
   pkg/svUnit/NEWS
   pkg/svUnit/R/guiTestReport.R
   pkg/svUnit/R/svSuite.R
   pkg/svUnit/R/svUnit-internal.R
   pkg/svUnit/man/svUnit-package.Rd
Log:
Preparing svGUI, svHttp and svUnit for submission to CRAN

Modified: pkg/svGUI/DESCRIPTION
===================================================================
--- pkg/svGUI/DESCRIPTION	2013-01-27 21:01:01 UTC (rev 519)
+++ pkg/svGUI/DESCRIPTION	2013-01-27 21:41:28 UTC (rev 520)
@@ -1,7 +1,7 @@
 Package: svGUI
 Type: Package
-Version: 0.9-53
-Date: 2012-03-31
+Version: 0.9-54
+Date: 2013-01-27
 Title: SciViews GUI API - Functions to manage GUIs
 Authors at R: c(person("Philippe", "Grosjean", role = c("aut", "cre"),
   email = "phgrosjean at sciviews.org"))

Modified: pkg/svGUI/NEWS
===================================================================
--- pkg/svGUI/NEWS	2013-01-27 21:01:01 UTC (rev 519)
+++ pkg/svGUI/NEWS	2013-01-27 21:41:28 UTC (rev 520)
@@ -1,5 +1,16 @@
 = svGUI News
 
+== Changes in svGUI 0.9-54
+
+* The package now store temporary data in SciViews:TempEnv instead of TempEnv
+  and it needs svMisc >= 0.9-68.
+
+
+== Changes in svGUI 0.9-53
+
+* Minor tweaking of the internal code.
+
+
 == Changes in svGUI 0.9-52
 
 * R 2.15.0 complains about argument partial match in print.gui():

Modified: pkg/svGUI/man/svGUI-package.Rd
===================================================================
--- pkg/svGUI/man/svGUI-package.Rd	2013-01-27 21:01:01 UTC (rev 519)
+++ pkg/svGUI/man/svGUI-package.Rd	2013-01-27 21:41:28 UTC (rev 520)
@@ -14,8 +14,8 @@
   \tabular{ll}{
     Package: \tab svGUI\cr
     Type: \tab Package\cr
-    Version: \tab 0.9-53\cr
-    Date: \tab 2012-03-31\cr
+    Version: \tab 0.9-54\cr
+    Date: \tab 2013-01-27\cr
     License: \tab GPL 2 or above, at your convenience\cr
   }
   % TODO: add description of main functions here. Also add examples

Modified: pkg/svHttp/DESCRIPTION
===================================================================
--- pkg/svHttp/DESCRIPTION	2013-01-27 21:01:01 UTC (rev 519)
+++ pkg/svHttp/DESCRIPTION	2013-01-27 21:41:28 UTC (rev 520)
@@ -8,7 +8,7 @@
 Author: Philippe Grosjean
 Maintainer: Philippe Grosjean <phgrosjean at sciviews.org>
 Depends: R (>= 2.11.0)
-Imports: tools, svMisc (>= 0.9-62)
+Imports: tools, svMisc (>= 0.9-68)
 Suggests: svSocket
 Description: Implements a simple HTTP server allowing to connect GUI clients to R
 License: GPL-2

Modified: pkg/svHttp/NEWS
===================================================================
--- pkg/svHttp/NEWS	2013-01-27 21:01:01 UTC (rev 519)
+++ pkg/svHttp/NEWS	2013-01-27 21:41:28 UTC (rev 520)
@@ -4,6 +4,10 @@
 
 * NEWS file reworked to use the new Rd format.
 
+* Temporary data are now saved in SciViews:TempEnv environment (was TempEnv),
+  and one thus needs svMisc >= 0.9-68.
+
+
 == Changes in svHttp 0.9-53
 
 * If the Http server is not started, .onUnload() failed in

Modified: pkg/svHttp/inst/NEWS.Rd
===================================================================
--- pkg/svHttp/inst/NEWS.Rd	2013-01-27 21:01:01 UTC (rev 519)
+++ pkg/svHttp/inst/NEWS.Rd	2013-01-27 21:41:28 UTC (rev 520)
@@ -4,6 +4,8 @@
 \section{Changes in version 0.9-54}{
 	\itemize{
     \item{ NEWS file reworked to use the new Rd format. }
+	\item{ Temporary data are now saved in SciViews:TempEnv environment
+	  (was TempEnv), and one thus needs     s svMisc >= 0.9-68. }
   }
 }
 

Modified: pkg/svIDE/NEWS
===================================================================
--- pkg/svIDE/NEWS	2013-01-27 21:01:01 UTC (rev 519)
+++ pkg/svIDE/NEWS	2013-01-27 21:41:28 UTC (rev 520)
@@ -2,7 +2,7 @@
 
 == Changes in svIDE 0.9-50
 
-* Addition of a pcakge man page.
+* Addition of a pckage man page.
 
 * Source is deprecated in favor of sourceFormat().
 

Modified: pkg/svUnit/DESCRIPTION
===================================================================
--- pkg/svUnit/DESCRIPTION	2013-01-27 21:01:01 UTC (rev 519)
+++ pkg/svUnit/DESCRIPTION	2013-01-27 21:41:28 UTC (rev 520)
@@ -1,7 +1,7 @@
 Package: svUnit
 Type: Package
-Version: 0.7-10
-Date: 2012-03-31
+Version: 0.7-11
+Date: 2013-01-27
 Title: SciViews GUI API - Unit testing
 Authors at R: c(person("Philippe", "Grosjean", role = c("aut", "cre"),
   email = "phgrosjean at sciviews.org"))

Modified: pkg/svUnit/NEWS
===================================================================
--- pkg/svUnit/NEWS	2013-01-27 21:01:01 UTC (rev 519)
+++ pkg/svUnit/NEWS	2013-01-27 21:41:28 UTC (rev 520)
@@ -1,5 +1,14 @@
 = svUnit News
 
+== svUnit 0.7-11
+
+* Temporary objects are now saved in SciViews:TempEnv instead of TempEnv.
+
+* runTest.svSuite() does not create .TestSuiteEnv into .GlobalEnv any more. This
+  object is now stored in SciViews:TempEnv (CRAN does not allow to assign in
+  .GlobalEnv).
+
+
 == svUnit 0.7-10
 
 * In runTest.svSuite(), a <<- assignation is replaced by

Modified: pkg/svUnit/R/guiTestReport.R
===================================================================
--- pkg/svUnit/R/guiTestReport.R	2013-01-27 21:01:01 UTC (rev 519)
+++ pkg/svUnit/R/guiTestReport.R	2013-01-27 21:41:28 UTC (rev 520)
@@ -5,7 +5,7 @@
 		oldSuites <- .getTemp(".guiSuiteListCache", default = "")
 		## Compare both versions
 		if (!identical(Suites, oldSuites)) {
-			## Keep a copy of the last version in Sciviews:TempEnv
+			## Keep a copy of the last version in SciViews:TempEnv
 			.assignTemp(".guiSuiteListCache", Suites)
 			Changed <- TRUE
 		} else Changed <- FALSE

Modified: pkg/svUnit/R/svSuite.R
===================================================================
--- pkg/svUnit/R/svSuite.R	2013-01-27 21:01:01 UTC (rev 519)
+++ pkg/svUnit/R/svSuite.R	2013-01-27 21:41:28 UTC (rev 520)
@@ -276,9 +276,9 @@
 	for (unit in names(.lastSuite)) {
 		## Create a new environment for this suite.
 		.ThisTestSuiteEnv <- new.env(parent = .GlobalEnv)
-        ## store it globally so that we can inspect it in case of stop
-		## on error.  but please do not remove the local alias.  #1327
-        assign(".TestSuiteEnv", .ThisTestSuiteEnv, envir = .GlobalEnv)
+        ## Store it in SciViews:TempEnv so that we can inspect it in case of
+		## stop on error. But please do not remove the local alias.  #1327
+        .assignTemp(".TestSuiteEnv", .ThisTestSuiteEnv)
 		## Source the corresponding file
 		Unit <- .lastSuite[[unit]]$file
 		sys.source(Unit, envir = .ThisTestSuiteEnv)

Modified: pkg/svUnit/R/svUnit-internal.R
===================================================================
--- pkg/svUnit/R/svUnit-internal.R	2013-01-27 21:01:01 UTC (rev 519)
+++ pkg/svUnit/R/svUnit-internal.R	2013-01-27 21:41:28 UTC (rev 520)
@@ -428,9 +428,9 @@
     pos <-  match("SciViews:TempEnv", search())
     if (is.na(pos)) { # Must create it
         `SciViews:TempEnv` <- list()
-        attach(`Sciviews:TempEnv`, pos = length(search()) - 1)
-        rm(`Sciviews:TempEnv`)
-        pos <- match("Sciviews:TempEnv", search())
+        attach(`SciViews:TempEnv`, pos = length(search()) - 1)
+        rm(`SciViews:TempEnv`)
+        pos <- match("SciViews:TempEnv", search())
     }
     return(pos.to.env(pos))
 }

Modified: pkg/svUnit/man/svUnit-package.Rd
===================================================================
--- pkg/svUnit/man/svUnit-package.Rd	2013-01-27 21:01:01 UTC (rev 519)
+++ pkg/svUnit/man/svUnit-package.Rd	2013-01-27 21:41:28 UTC (rev 520)
@@ -16,8 +16,8 @@
   \tabular{ll}{
     Package: \tab svUnit\cr
     Type: \tab Package\cr
-    Version: \tab 0.7-10\cr
-    Date: \tab 2012-03-31\cr
+    Version: \tab 0.7-11\cr
+    Date: \tab 2013-01-27\cr
     License: \tab GPL 2 or above, at your convenience\cr
   }
 



More information about the Sciviews-commits mailing list