# NOT RUN {
# Vector
make_clean_names(c("a and b", "a-and-b"))
make_clean_names(1:10)
# data frame
df <- data.frame(
`a and b` = 1:4,
`c and d` = 5:8,
check.names = FALSE
)
df
make_clean_names(df)
# }
Run the code above in your browser using DataLab