R/levels_to_vec.R
dput_levels.Rd
return R instruction to create levels
dput_levels(vec)
a factor or character vector
a R instruction
dput_levels(iris$Species) #> c("setosa", "versicolor", "virginica")