Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upReplace DataFrame with List. #358
Conversation
This is necessary, as the column length may change, resulting in an object that is not a valid DataFrame. The conflicts with RcppCore/Rcpp#1099 where the object will remain a DataFrame. For the purposes of `proxy`, a List is sufficient.
|
This seems legit. And you are right I used |
This fixes #357.
This is necessary, as the column length may change, resulting in an object that is not a valid
DataFrame. The conflicts with RcppCore/Rcpp#1099 where the object will remain aDataFrame.The underlying cause is that previously, calling push_back or push_front on a DataFrame caused the DataFrame to revert to a list, but it should remain a DataFrame.
However, there are some occasions (caught by your tests, thanks!) where proxy becomes invalid for a DataFrame (to do with column lengths). It remains a valid List.
For the purposes of
proxy, aListis sufficient.