Skip to content

slice_max() doesn't work with character column #218

Description

@mgirlich
library(dplyr, warn.conflicts = FALSE)
library(dtplyr)

dt <- lazy_dt(data.frame(x = c("b", "a", "d", "c")))
dt %>% slice_max(x) %>% pull(x)
#> Error: invalid argument to unary operator

Created on 2021-03-05 by the reprex package (v1.0.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions