[R-SIG-Finance] blotter updatePortf issue..

me me at censix.com
Mon Sep 3 08:30:01 CEST 2012

The post that mentions your error


also mentions a workaround:


Detailed description
While running demo/macd.R in the quantstrat package with --vanilla, I
got the following error:

Error in if (length(c(year, month, day, hour, min, sec)) == 6 &&
c(year, : missing value where TRUE/FALSE needed

It appears that this error is generated by .parse8061(), because there
is no TZ defined. Although there is a test for TZ=='' in
the .parse8061() function, that does not seem to work .... (didn't look
any deeper, sorry ;-) )

Setting TZ to eg. "UTC" fixes the problem.

Soren Wilkening


More information about the R-SIG-Finance mailing list