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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Dec 7 20:47:28 CET 2014


Author: gsee
Date: 2014-12-07 20:47:28 +0100 (Sun, 07 Dec 2014)
New Revision: 1660

Modified:
   pkg/FinancialInstrument/DESCRIPTION
   pkg/FinancialInstrument/NAMESPACE
   pkg/FinancialInstrument/R/FinancialInstrument-package.R
Log:
Depend on quantmod >= 0.4-3 and use importDefaults from there instead of the deprecated Defaults package

Modified: pkg/FinancialInstrument/DESCRIPTION
===================================================================
--- pkg/FinancialInstrument/DESCRIPTION	2014-12-03 17:55:20 UTC (rev 1659)
+++ pkg/FinancialInstrument/DESCRIPTION	2014-12-07 19:47:28 UTC (rev 1660)
@@ -13,12 +13,11 @@
 Date: 2014-10-07
 Depends:
     R (>= 2.12.0),
-    quantmod (>= 0.4-2),
+    quantmod (>= 0.4-3),
     zoo (>= 1.7-5),
     xts
 Imports:
-    TTR,
-    Defaults (>= 2.0.0)
+    TTR
 Suggests:
     foreach,
     XML (>= 3.96.1.1),

Modified: pkg/FinancialInstrument/NAMESPACE
===================================================================
--- pkg/FinancialInstrument/NAMESPACE	2014-12-03 17:55:20 UTC (rev 1659)
+++ pkg/FinancialInstrument/NAMESPACE	2014-12-07 19:47:28 UTC (rev 1660)
@@ -138,7 +138,6 @@
 export(update_instruments.yahoo)
 export(volep)
 import(xts)
-importFrom(Defaults,importDefaults)
 importFrom(TTR,runSum)
 importFrom(TTR,stockSymbols)
 importFrom(quantmod,Ad)
@@ -159,6 +158,7 @@
 importFrom(quantmod,has.Price)
 importFrom(quantmod,has.Trade)
 importFrom(quantmod,has.Vo)
+importFrom(quantmod,importDefaults)
 importFrom(quantmod,is.BBO)
 importFrom(quantmod,is.HLC)
 importFrom(quantmod,is.OHLC)

Modified: pkg/FinancialInstrument/R/FinancialInstrument-package.R
===================================================================
--- pkg/FinancialInstrument/R/FinancialInstrument-package.R	2014-12-03 17:55:20 UTC (rev 1659)
+++ pkg/FinancialInstrument/R/FinancialInstrument-package.R	2014-12-07 19:47:28 UTC (rev 1660)
@@ -5,7 +5,7 @@
 #'  getSymbolLookup setSymbolLookup yahooQF has.Vo Vo getOptionChain
 #' @importFrom TTR stockSymbols runSum
 #' @importFrom zoo na.locf as.zoo coredata is.zoo index
-#' @importFrom Defaults importDefaults
+#' @importFrom quantmod importDefaults
 NULL
 
 # for packages in Suggests:



More information about the Blotter-commits mailing list