Skip to content

drop_na() shouldn't drop empty atomic elements of list-cols #1228

@DavisVaughan

Description

@DavisVaughan
library(tidyr)

df <- tibble(x = list(1L, NULL, integer()))

drop_na(df)
#> # A tibble: 1 × 1
#>   x        
#>   <list>   
#> 1 <int [1]>

Created on 2021-11-19 by the reprex package (v2.0.1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviormissing values 💀

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions