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
Error: Problem with `mutate()` column `Species_Lumped`.
i `Species_Lumped = forcats::fct_lump(Species, w = Sepal.Length, prop = 0.04)`.
x missing value where TRUE/FALSE needed
i The error occurred in group 1: Species = virginica.
Run `rlang::last_error()` to see where the error occurred
Tested with R version 4.1.2 (2021-11-01)
The text was updated successfully, but these errors were encountered:
holgerbrandl
changed the title
It should fail when lumping empty group with weight
It should not fail when lumping empty group with weight
Jan 12, 2022
When using
fct_lump
on a grouped data frame with a weighting attribute, it should not fail if a group is empty.Example
This fails using v0.5.1 with
Tested with R version 4.1.2 (2021-11-01)
The text was updated successfully, but these errors were encountered: