[Blotter-commits] r290 - pkg/quantstrat/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Mar 16 16:33:51 CET 2010


Author: braverock
Date: 2010-03-16 16:33:51 +0100 (Tue, 16 Mar 2010)
New Revision: 290

Modified:
   pkg/quantstrat/R/rules.R
Log:
- switch warning to message

Modified: pkg/quantstrat/R/rules.R
===================================================================
--- pkg/quantstrat/R/rules.R	2010-03-16 15:29:48 UTC (rev 289)
+++ pkg/quantstrat/R/rules.R	2010-03-16 15:33:51 UTC (rev 290)
@@ -136,7 +136,7 @@
             rule$arguments$timestamp=timestamp
             pm <- pmatch(names(rule$arguments), onames, nomatch = 0L)
             if (any(pm == 0L))
-                warning(paste("some arguments stored for",rule$name,"do not match"))
+                message(paste("some arguments stored for",rule$name,"do not match"))
             names(rule$arguments[pm > 0L]) <- onames[pm]
             .formals[pm] <- rule$arguments[pm > 0L]
             #now add dots



More information about the Blotter-commits mailing list