[Swift-commit] r4063 - SwiftApps/SwiftR/Swift/R

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Mon Feb 7 11:25:38 CST 2011


Author: tga
Date: 2011-02-07 11:25:33 -0600 (Mon, 07 Feb 2011)
New Revision: 4063

Modified:
   SwiftApps/SwiftR/Swift/R/Tests.R
Log:
Checking in changes to tests reflecting that it is no longer necessary (and deprecated) to use <<- assignment operator in initialexpr


Modified: SwiftApps/SwiftR/Swift/R/Tests.R
===================================================================
--- SwiftApps/SwiftR/Swift/R/Tests.R	2011-02-07 17:21:08 UTC (rev 4062)
+++ SwiftApps/SwiftR/Swift/R/Tests.R	2011-02-07 17:25:33 UTC (rev 4063)
@@ -4,7 +4,7 @@
 {
   options(swift.site="service")
   options(swift.keepwork=TRUE)
-  initcmds <- "initVar1 <<- 19; initVar2 <<- sqrt(400)+3"
+  initcmds <- "initVar1 <- 19; initVar2 <- sqrt(400)+3"
   options(swift.initialexpr=initcmds) # Set here; used in test group 4
 }
 
@@ -69,7 +69,7 @@
 swiftTest_4.2 <- function()
 {
 
-  options(swift.initialexpr="initVar3 <<- 123; initVar4 <<- 100");
+  options(swift.initialexpr="initVar3 <- 123; initVar4 <- 100");
 
   mulivars <- function() { initVar3*initVar4 }
 
@@ -94,7 +94,7 @@
 
 swiftTest_6.1 <- function(delay,ncalls)
 {
-  options(swift.initialexpr="initVar3 <<- 123; initVar4 <<- 100");
+  options(swift.initialexpr="initVar3 <- 123; initVar4 <- 100");
 
   timed <- function(delay) { Sys.sleep(delay); delay }
 




More information about the Swift-commit mailing list