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
Also..
Strangely if the vectors are inside a data.table, the data.table will let me convert the vectors to an IDate without an error, but then it won't let me use the data.table. The data table now has an error.
v1 and v2 inside a data.table
The text was updated successfully, but these errors were encountered:
Thanks. I looked at the code myself and wasn't sure where to start. Looking at your edits gave me some insight into S3 methods and some strategies for debugging.
This has helped me realize that can
clone the project,
source the functions where the error is probably happening, and
debug the a copy of the function in my global environment.
Previously I believed (in error) that data.table was using so much C code that I wouldn't be able to follow the source.
Next time you'll probably get more detail from me in the issue, perhaps with a code sample.
I have a data set with an invalid time stamp, someone put in 14:00 PM.
Normally this converts to NA with IDate, but I found that in some instances it throws an error.
Reproducible example:
Screen grab of what happens when I run the above example:
Session Info:
Also..
Strangely if the vectors are inside a data.table, the data.table will let me convert the vectors to an IDate without an error, but then it won't let me use the data.table. The data table now has an error.
v1 and v2 inside a data.table
The text was updated successfully, but these errors were encountered: