conflicted icon indicating copy to clipboard operation
conflicted copied to clipboard

"summarize()" isn't considered to be in dplyr, even though it's a synonym for "summarise()"

Open BorgeJorge opened this issue 11 months ago • 2 comments

Listed as synonyms here.

BorgeJorge avatar Mar 13 '24 06:03 BorgeJorge

What's the issue?

hadley avatar Mar 13 '24 12:03 hadley

Apologies for not going into more detail. Noodling around a little more, it looks to be maybe a display issue, and/or associated with duckplyr. The output from these commands:

library(dplyr)
library(duckplyr)
library(Hmisc)
library(conflicted)
mtcars %>% summarize(mean = mean(disp))

suggests that duckplyr masks dplyr::summarize() without acknowledging it. Then conflicted() doesn't list dplyr::summarize(). But maybe summarize() is the same in dplyr and duckplyr? (In any case they operate the same in this circumstance.)

RStudio output: image

BorgeJorge avatar Mar 13 '24 20:03 BorgeJorge