Takes a dataframe and allows for use of tidyselect to construct a formula.
tidy_formula(data, target, ...)
dataframe
lhs
tidyselect. rhs
a formula
iris %>%
tidy_formula(Species, tidyselect::everything())
#> Species ~ Sepal.Length + Sepal.Width + Petal.Length + Petal.Width
#> <environment: 0x15b2dec00>