Skip to content

Commit

Permalink
lintr
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Nov 29, 2023
1 parent 654a1e2 commit 90bf77f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-binned_residuals.R
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ test_that("binned_residuals, msg for non-bernoulli", {

dat <- data.frame(tot, suc)
dat$prop <- suc / tot
dat$x1 <- as.factor(sample(1:5, 100, replace = TRUE))
dat$x1 <- as.factor(sample.int(5, 100, replace = TRUE))

mod <- glm(prop ~ x1,
family = binomial,
Expand Down

0 comments on commit 90bf77f

Please sign in to comment.