readr::parse_factor() is the tidyverse way to create factor variables. By default, it sets include_na = TRUE: an explicit NA level will be created
readr::parse_factor()
include_na = TRUE