So the alternative to dcast is generally spread. However I want to combine 2 columns at the same time, and I know that tidyr moved away from reshaping data. How would I achieve something like below, without using the reshape2 package?
iris %>% reshape2::dcast(Sepal.Length ~ Petal.Width + Species)