-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
featurea feature request or enhancementa feature request or enhancement
Description
If a column is set to NULL in mutate it is deleted. However, this does not work if mutate is returned as a result of an expression. It would also be nice if you could use NULL in summarize to exclude a column as well, but maybe that should go into a new feature request?
> df <- data.frame(a=5,b=6)
> df %>% mutate(a= NULL)
b
1 6
> z <- NULL
> df %>% mutate(a=z)
Error: Unsupported type NILSXP for column "aMetadata
Metadata
Assignees
Labels
featurea feature request or enhancementa feature request or enhancement