Open APILLSBURY opened 8 years ago
Thanks for the detailed issue! I will try to look into this issue this weekend. I fear the list parsing is not correct and this probably relates to #24.
Thanks. Let me know if you need any more info from me.
Incorrectly closed by my previous commit. Reopening, as NA handling still needs work.
Any word on NA? I am interested in using it, but running into this issue.
I have began working on support for NAs in lists, however it is tricky to do in a backwards compatible manner. Hopefully I will get time to finish it off shortly. I am very open to pull requests for this
When sending a command to create a list I'm getting a
panic: runtime error: index out of range
with certain combinations of values. What I've observed is the following. 1) Creating a list of strings, ints, and floats in any combination works. Ex:list(int=1,string='s',float=0.5)
2) If the list has a bool or NA as the last value, the correct result is returned but there is a
Warning: Error whilst constructing vector: Abruptly reached end of buffer
outputted. Ex:list(int=1,string='s',float=0.5,bool=TRUE)
Ex:list(var=NA)
3) If the list contains a bool or NA value with anything else following it, a panic happens. Ex:
list(int=1,string='s',float=0.5,bool=TRUE,anything='this causes a panic')
Ex:list(var1=NA,var2=1)
Here is the full stack trace for the panic: