[Blotter-commits] r752 - pkg/FinancialInstrument/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Sep 5 18:55:31 CEST 2011


Author: bodanker
Date: 2011-09-05 18:55:31 +0200 (Mon, 05 Sep 2011)
New Revision: 752

Modified:
   pkg/FinancialInstrument/R/instrument.R
Log:
- fix stupid error in print.instrument


Modified: pkg/FinancialInstrument/R/instrument.R
===================================================================
--- pkg/FinancialInstrument/R/instrument.R	2011-09-05 16:46:06 UTC (rev 751)
+++ pkg/FinancialInstrument/R/instrument.R	2011-09-05 16:55:31 UTC (rev 752)
@@ -659,7 +659,7 @@
 #' @author Joshua Ulrich, Garrett See
 #' @keywords internal
 print.instrument <- function(x, ...) {
-  str(unclass(SPY), comp.str="", no.list=TRUE, give.head=FALSE,
+  str(unclass(x), comp.str="", no.list=TRUE, give.head=FALSE,
     give.length=FALSE, give.attr=FALSE, nest.lev=-1, indent.str="")
   invisible(x)
 }



More information about the Blotter-commits mailing list