I am trying to fit a logit model for the data from faraway: extending the linear model with R. The data set `orings`

has two colums `temp`

the temperature and `damage`

how many out of 6 o-rings are damaged. If I do this with non tidy syntax, I use simply

```
library(tidyverse)
library(tidymodels)
library(faraway)
data(orings)
logitmod <- glm(cbind(damage, 6-damage)~temp, family= binomial, orings)
```

How do I achieve the same model fitting using a tidy approach? I could only find `logistic_reg`

but this does not seem to do the trick, since it is gauged on (binary) classification and not on a numeric from 0 to 6 model, if I understand correctly.