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
This doesn't seem to be super important (similar errors are in broom and ascii packages, thought xtable works correctly), but I will still investigate for a fix in the meantime
The text was updated successfully, but these errors were encountered:
I think the xtable behavior (printing the header as a one-row table) is a nice solution, although I am not sure if we should print anything for objects without a real header, like:
It turns out there is actually a check for empty data.frames, just it's done too late, since the failure occurs earlier.
I like the current solution of assigning NA in case of empty object. And I agree that in case there is no header nothing should be printed, just like a warning produced. I have submitted a PR #182, let's move our discussion there.
While writing some tests, I realized that
pander
fails for emptydata.frames
.This doesn't seem to be super important (similar errors are in
broom
andascii
packages, thoughtxtable
works correctly), but I will still investigate for a fix in the meantimeThe text was updated successfully, but these errors were encountered: