Closed
Description
When I overwrite a nested column with mutate
it works with dplyr::mutate()
but not with tidylog::mutate()
Check example below
library(tidyverse)
library(tidylog)
# This doesn't work: Error in new != old : comparison of these types is not implemented
as_tibble(iris) %>% nest(-Species) %>% tidylog::mutate(data = data %>% map(function(data) {data$Sepal.Length + data$Sepal.Width}))
# This works
as_tibble(iris) %>% nest(-Species) %>% dplyr::mutate(data = data %>% map(function(data) {data$Sepal.Length + data$Sepal.Width}))
Metadata
Assignees
Labels
No labels
Activity