[R-pkg-devel] tibbles are not data frames
On Tue, Sep 26, 2017 at 8:35 AM, Joris Meys <Joris.Meys at ugent.be> wrote:
Where its parent class _sometimes_ returns an atomic vector and
_sometimes_ returns a data frame.
Indeed. And a tibble doesn't, so there's a conflict. Nobody said data.frame works better than tibble. Actually, we all agree that the legacy behaviour sucks. But it exists, and causes conflicts when users expect a tibble to behave the same as a data.frame. It does not.
So we should never try and improve upon legacy behaviour? I don't understand what you're arguing for here. If a tibble didn't inherit from a data frame, it would be useless. Hadley