R/utils.R
drop_empty.Rd
drop_empty
drop_empty(x, drop = "all")
List of input values
Type of values to drop. Default to 'all'.
clean data
if (interactive()) { values <- c("real", "null", NULL, NA, " ") drop_empty(values) # [1] "real" }