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
I did a small test where I commented out the check that the data frame passed to tbl_summary() has at least one row, and this is the table generated. I think we can fairly easy relax this requirement in many of the functions.
Many users often want to have a null report when the data has 0 rows. In {chevron} there is an example of that. In general, I would allow something like the above example (i.e. keeping the expected structure with empty values). I would rely on the users to call the null report if they want. Wdyt?
We need to test the trial[0,] case also in sorting and other post-processing functions that may break if there are no rows in the data (if the structure is preserved as in the above, I think it should be quite solid, but I would test it)
I think with the new ARD framework, we may be able to get away with removing the requirement.
See note here: #2006
The text was updated successfully, but these errors were encountered: