I would like to filter out rows that have a particular field NA. The reference https://tidyr.tidyverse.org/reference/drop_na.html seems to suggest that drop_na() will do the trick. However, when I use it I have no luck:
library(dplyr)
df <- tibble(x = c(1, 2, NA), y = c("a", NA, "b"))
df %>% drop_na()
I get Error in drop_na(.) : could not find function "drop_na" Help(drop_na()) does not yield useful information.
My R.version is R version 4.1.2 (2021-11-01) and package version of dplyr is ‘1.0.7’