Closed etiennebacher closed 2 years ago
Thanks for pointing this out. Generally, poorman
is not designed to work with tibble
s. It goes against the ethos of poorman
which is to use as few dependencies as possible and therefore poorman
is designed to work strictly with data.frame
s. Are you able to provide me with more information as to how you came across this given that you don't usually work with poorman
?
I noticed it in a PR for easystats: https://github.com/easystats/easystats/pull/227. I came across this error and I first thought it was because of poorman::full_join (which is why I ended up using datawizard::data_join) but I noticed later that it was related to poorman::group_by.
Glad to know this is not really a bug :) This package is a great idea and has worked almost perfectly the few times I used it. The only reason I don't use it more often is that I usually end up using some other packages from the tidyverse that import most dplyr deps anyway so there's no real incentives to switch to poorman for me.
That makes sense. Thanks for the report regardless. I'm planning to soon add more to poorman but finding the time is the issue.
Describe the bug When I use
poorman::group_by
on a tibble, it has an error:This doesn't happen with
dplyr::group_by
.poorman::group_by
works well with dataframes.To Reproduce
Created on 2022-05-30 by the reprex package (v2.0.1)
Expected behavior /
System Information: Please detail the following information
R 4.2.0
poorman 0.2.5
(also tried with Github version 0.2.5.6)Additional context I normally don't use poorman but I came across a situation where this error happened. I don't know if poorman is supposed to work with tibbles all the time but since other functions (filter, etc.) work with them, I supposed this is a bug.