@jrowen, just adding a simple fix to rhandsontable() to ensure that it appropriately handles data that is empty (i.e. all NA values). As this loop was originally written, when the data is empty individual values are returned within the lapply call instead of a vector per column as normally expected. To fix this, I have updated the lapply call to explicitly extract the individual columns to ensure that they are handled correctly. I originally picked up this issue through my DataEditR package issue#34.
@jrowen, just adding a simple fix to
rhandsontable()
to ensure that it appropriately handles data that is empty (i.e. all NA values). As this loop was originally written, when the data is empty individual values are returned within thelapply
call instead of a vector per column as normally expected. To fix this, I have updated thelapply
call to explicitly extract the individual columns to ensure that they are handled correctly. I originally picked up this issue through my DataEditR package issue#34.