You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the example code at the end, my additions, withdrawals and interest are not being added to the account summary. One fix would be to modify line 94 of updateAcct.R from
obsDates = index(table)
to
obsDates = as.Date(index(table))
I thought this was more of a hack than a fix, but then I saw this post where a user says "If you supply a POSIXct time xts tries to make an exact match, which it doesn't find in this case." and obsDates and TxnDate are both POSIXct, so it may be good enough to change obsDates to non-time based so xts will match it.
The text was updated successfully, but these errors were encountered:
rogerjbos
changed the title
addAcctTxn not working due to dates not matching, possible patch
updateAcct not working due to dates not matching, possible patch
May 15, 2017
Based on the example code at the end, my additions, withdrawals and interest are not being added to the account summary. One fix would be to modify line 94 of updateAcct.R from
to
I thought this was more of a hack than a fix, but then I saw this post where a user says "If you supply a POSIXct time xts tries to make an exact match, which it doesn't find in this case." and
obsDates
andTxnDate
are both POSIXct, so it may be good enough to changeobsDates
to non-time based so xts will match it.The text was updated successfully, but these errors were encountered: