[Blotter-commits] r1333 - pkg/quantstrat/inst/tests

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jan 2 20:47:40 CET 2013


Author: milktrader
Date: 2013-01-02 20:47:40 +0100 (Wed, 02 Jan 2013)
New Revision: 1333

Modified:
   pkg/quantstrat/inst/tests/aqua.R
   pkg/quantstrat/inst/tests/blue.R
Log:
took out timezone setting lines in blue and aqua

Modified: pkg/quantstrat/inst/tests/aqua.R
===================================================================
--- pkg/quantstrat/inst/tests/aqua.R	2013-01-02 19:39:12 UTC (rev 1332)
+++ pkg/quantstrat/inst/tests/aqua.R	2013-01-02 19:47:40 UTC (rev 1333)
@@ -18,11 +18,6 @@
 
 data(spx)
 
-############### TIMEZONE HOUSEKEEPING #########################
-
-local_TZ = Sys.getenv("TZ")
-Sys.unsetenv("TZ")
-
 ############################# DEFINE VARIABLES ##############################
 
 port          = 'aquaPort'
@@ -109,6 +104,3 @@
 
 book = getOrderBook(port)
 
-############################### RESET TZ TO ORIGINAL SETTING ########
-
-Sys.setenv(TZ = local_TZ)

Modified: pkg/quantstrat/inst/tests/blue.R
===================================================================
--- pkg/quantstrat/inst/tests/blue.R	2013-01-02 19:39:12 UTC (rev 1332)
+++ pkg/quantstrat/inst/tests/blue.R	2013-01-02 19:47:40 UTC (rev 1333)
@@ -18,11 +18,6 @@
 
 data(spx)
 
-############### TIMEZONE HOUSEKEEPING #########################
-
-local_TZ = Sys.getenv("TZ")
-Sys.unsetenv("TZ")
-
 ############################# DEFINE VARIABLES ##############################
 
 port          = 'bluePort'
@@ -131,6 +126,3 @@
 
 book = getOrderBook(port)
 
-############################### RESET TZ TO ORIGINAL SETTING ########
-
-Sys.setenv(TZ = local_TZ)



More information about the Blotter-commits mailing list