Skip to content

Using rename() results in error 'could not find function "setnames"' #123

@larspijnappel

Description

@larspijnappel

Unfortunately, dtplyr throws the following error when rename() is used:

Error in setnames(copy(_DT1), "mpg", "miles_per_gallon") : could not find function "setnames"

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

mtcars %>% 
    lazy_dt() %>%
    rename(miles_per_gallon = mpg)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions