[Xts-commits] r833 - pkg/xtsExtra/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Aug 23 18:19:50 CEST 2014


Author: rossbennett34
Date: 2014-08-23 18:19:49 +0200 (Sat, 23 Aug 2014)
New Revision: 833

Modified:
   pkg/xtsExtra/R/plot2.R
Log:
fixes bug #5874

Modified: pkg/xtsExtra/R/plot2.R
===================================================================
--- pkg/xtsExtra/R/plot2.R	2014-08-23 15:41:33 UTC (rev 832)
+++ pkg/xtsExtra/R/plot2.R	2014-08-23 16:19:49 UTC (rev 833)
@@ -307,6 +307,7 @@
     .formals <- formals(fun)
     .formals <- modify.args(formals=.formals, arglist=list(...), dots=TRUE)
     if("R" %in% names(.formals)) .formals <- modify.args(formals=.formals, arglist=NULL, R=x, dots=TRUE)
+    if("x" %in% names(.formals)) .formals <- modify.args(formals=.formals, arglist=NULL, x=x, dots=TRUE)
     .formals$... <- NULL
     R <- try(do.call(fun, .formals), silent=TRUE)
     if(inherits(R, "try-error")) { 



More information about the Xts-commits mailing list