[Blotter-commits] r1656 - in pkg/FinancialInstrument: . R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Nov 28 02:07:58 CET 2014


Author: gsee
Date: 2014-11-28 02:07:57 +0100 (Fri, 28 Nov 2014)
New Revision: 1656

Modified:
   pkg/FinancialInstrument/DESCRIPTION
   pkg/FinancialInstrument/NAMESPACE
   pkg/FinancialInstrument/R/FinancialInstrument-package.R
   pkg/FinancialInstrument/R/load.instruments.R
Log:
use Defaults again (>= 2.0.0)

Modified: pkg/FinancialInstrument/DESCRIPTION
===================================================================
--- pkg/FinancialInstrument/DESCRIPTION	2014-11-23 22:53:26 UTC (rev 1655)
+++ pkg/FinancialInstrument/DESCRIPTION	2014-11-28 01:07:57 UTC (rev 1656)
@@ -17,7 +17,8 @@
     zoo (>= 1.7-5),
     xts
 Imports:
-    TTR
+    TTR,
+    Defaults (>= 2.0.0)
 Suggests:
     foreach,
     XML (>= 3.96.1.1),

Modified: pkg/FinancialInstrument/NAMESPACE
===================================================================
--- pkg/FinancialInstrument/NAMESPACE	2014-11-23 22:53:26 UTC (rev 1655)
+++ pkg/FinancialInstrument/NAMESPACE	2014-11-28 01:07:57 UTC (rev 1656)
@@ -138,6 +138,7 @@
 export(update_instruments.yahoo)
 export(volep)
 import(xts)
+importFrom(Defaults,importDefaults)
 importFrom(TTR,runSum)
 importFrom(TTR,stockSymbols)
 importFrom(quantmod,Ad)

Modified: pkg/FinancialInstrument/R/FinancialInstrument-package.R
===================================================================
--- pkg/FinancialInstrument/R/FinancialInstrument-package.R	2014-11-23 22:53:26 UTC (rev 1655)
+++ pkg/FinancialInstrument/R/FinancialInstrument-package.R	2014-11-28 01:07:57 UTC (rev 1656)
@@ -5,8 +5,12 @@
 #'  getSymbolLookup setSymbolLookup yahooQF has.Vo Vo getOptionChain
 #' @importFrom TTR stockSymbols runSum
 #' @importFrom zoo na.locf as.zoo coredata is.zoo index
+#' @importFrom Defaults importDefaults
 NULL
 
+# for packages in Suggests:
+globalVariables(c("timeSeries", "readHTMLTable", "%dopar%", "foreach"))
+
 #' Construct, manage and store contract specifications for trading
 #'
 #' Transaction-oriented infrastructure for defining tradable instruments based 

Modified: pkg/FinancialInstrument/R/load.instruments.R
===================================================================
--- pkg/FinancialInstrument/R/load.instruments.R	2014-11-23 22:53:26 UTC (rev 1655)
+++ pkg/FinancialInstrument/R/load.instruments.R	2014-11-28 01:07:57 UTC (rev 1656)
@@ -345,7 +345,7 @@
         .days_to_omit <- days_to_omit
     if (hasArg.indexTZ <- hasArg(indexTZ)) .indexTZ <- indexTZ
 
-    #importDefaults("getSymbols.FI")
+    importDefaults("getSymbols.FI")
 
     # Now get the values for each formal that we'll use if not provided
     # by the user and not found in the SymbolLookup table



More information about the Blotter-commits mailing list