# NOT RUN {
# Reorder columns
data_relocate(iris, cols = "Species", before = "Sepal.Length")
data_relocate(iris, cols = "Species", before = "Sepal.Width")
data_relocate(iris, cols = "Sepal.Width", after = "Species")
data_relocate(iris, cols = c("Species", "Petal.Length"), after = "Sepal.Width")
# }
Run the code above in your browser using DataLab