Chandra,
FYI, here is a simple patch I tossed at Jeff earlier today and which he is
pondering. In the meantime, apply it to quantmod sources and you're safe
from any interferene from objects named 'adjust' by rewriting the test a
little more conservatively.
Hope this helps, Dirk
Index: pkg/R/getSymbols.R
===================================================================
--- pkg/R/getSymbols.R (revision 567)
+++ pkg/R/getSymbols.R (working copy)
@@ -190,7 +190,7 @@
function(Symbols,env,return.class='xts',index.class="Date",
from='2007-01-01',
to=Sys.Date(),
- ...)
+ ..., adjust)
{
importDefaults("getSymbols.yahoo")
this.env <- environment()
@@ -198,7 +198,7 @@
# import all named elements that are NON formals
assign(var, list(...)[[var]], this.env)
}
- if(!exists("adjust", environment()))
+ if(missing("adjust"))
adjust <- FALSE
default.return.class <- return.class